-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/fix_travis' into develop
- Loading branch information
Showing
3 changed files
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
sudo: required | ||
dist: trusty | ||
services: | ||
- docker | ||
sudo: required | ||
language: python | ||
python: | ||
- "3.5" | ||
install: | ||
- pip install click pycodestyle | ||
script: | ||
- python3 ./scripts/run_tests.py --build-docker-images --docker --verbose | ||
- python3 ./scripts/check_code_style.py | ||
- sudo apt-get update | ||
- sudo apt-get install --yes snapd | ||
- sudo apt-get remove --yes lxd lxd-client | ||
- sudo snap install core | ||
- sudo snap install lxd | ||
- for i in $(seq 12); do sudo /snap/bin/lxd waitready --timeout=10 >/dev/null 2>&1 && break; done | ||
- sudo /snap/bin/lxd init --auto | ||
- sudo /snap/bin/lxc network create testbr0 | ||
- sudo /snap/bin/lxc network attach-profile testbr0 default eth0 | ||
- export PATH="/snap/bin:$PATH" | ||
- sudo env "PATH=$PATH" python3.5 ./scripts/run_tests.py --lxd --verbose | ||
- python3.5 ./scripts/check_code_style.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters