Skip to content

Commit

Permalink
.travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Oct 28, 2020
1 parent 2dba42e commit 900fc1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,25 @@ jobs:
- env: MOLECULE_SCENARIO_NAME="fedora-32"

before_install:
- |
sudo apt-get update
sudo apt-get -y install bridge-utils dnsmasq-base ebtables libguestfs-tools libvirt-clients libvirt-daemon-system libvirt-dev qemu-kvm qemu-utils ruby-dev
- |
curl -Os https://releases.hashicorp.com/vagrant/2.2.10/vagrant_2.2.10_x86_64.deb
curl -Os https://releases.hashicorp.com/vagrant/2.2.10/vagrant_2.2.10_SHA256SUMS
curl -Os https://releases.hashicorp.com/vagrant/2.2.10/vagrant_2.2.10_SHA256SUMS.sig
curl -skL https://keybase.io/hashicorp/pgp_keys.asc | sudo gpg --import
gpg --verify vagrant_2.2.10_SHA256SUMS.sig vagrant_2.2.10_SHA256SUMS
sha256sum -c vagrant_2.2.10_SHA256SUMS 2>&1 | grep OK
sudo apt-get update && sudo apt-get install -y bridge-utils dnsmasq-base ebtables libguestfs-tools libvirt-clients libvirt-daemon-system libvirt-dev qemu-kvm qemu-utils ruby-dev
sudo dpkg -i vagrant_2.2.10_x86_64.deb
sudo vagrant plugin install vagrant-libvirt
rm -rf vagrant_2.2.10_*
- |
sudo apt-get -y purge python3-openssl && sudo apt-get -y autoremove
sudo apt-get update && sudo apt-get install -y ca-certificates curl gcc iproute2 pwgen python3 python3-dev sudo
sudo apt-get update
sudo apt-get -y purge python3-openssl
sudo apt-get -y install ca-certificates curl gcc iproute2 pwgen python3 python3-dev sudo
curl -skL https://bootstrap.pypa.io/get-pip.py | sudo -H python3 - --prefix=/usr/local
sudo -H pip3 install --prefix=/usr/local --upgrade --ignore-installed --requirement requirements.txt
Expand All @@ -49,7 +53,6 @@ install:
mkdir -p $HOME/.ansible/roles
mkdir -p $HOME/.ansible/collections/alvistack
ln -s $TRAVIS_BUILD_DIR $HOME/.ansible/roles/$ROLE
molecule dependency
script:
- |
Expand Down
1 change: 0 additions & 1 deletion molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

- hosts: all
remote_user: root
become: true
gather_facts: false
tasks:
- name: cp -rfT /etc/skel /root
Expand Down

0 comments on commit 900fc1f

Please sign in to comment.