mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
YAML formatting cleanup
This commit is contained in:
36
.travis.yml
36
.travis.yml
@ -1,24 +1,26 @@
|
|||||||
|
---
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- '3.6'
|
- '3.6'
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository universe -y
|
- sudo add-apt-repository universe -y
|
||||||
- sudo apt-get update -q
|
- sudo apt-get update -q
|
||||||
- sudo apt-get install -y redis-server redis-tools
|
- sudo apt-get install -y redis-server redis-tools
|
||||||
- sudo systemctl start redis-server
|
- sudo systemctl start redis-server
|
||||||
install:
|
install:
|
||||||
- pip3 install -r requirements.txt
|
- pip3 install -r requirements.txt
|
||||||
before_script:
|
before_script:
|
||||||
- pip3 install -r ./tests/requirements_dev.txt
|
- pip3 install -r ./tests/requirements_dev.txt
|
||||||
- pip3 install anybadge
|
- pip3 install anybadge
|
||||||
- git checkout master
|
- git checkout master
|
||||||
- black hyperglass
|
- black hyperglass
|
||||||
- python3 ./manage.py pylint-badge --integer-only True
|
- python3 ./manage.py pylint-badge --integer-only True
|
||||||
- sh ./tests/ci_git.sh
|
- sh ./tests/ci_git.sh
|
||||||
- python3 ./tests/ci_prepare.py
|
- python3 ./tests/ci_prepare.py
|
||||||
script:
|
script:
|
||||||
- nohup python3 ./tests/ci_dev_server.py &
|
- nohup python3 ./tests/ci_dev_server.py &
|
||||||
- sleep 20
|
- sleep 20
|
||||||
- python3 ./tests/ci_test.py
|
- python3 ./tests/ci_test.py
|
||||||
after_success:
|
after_success:
|
||||||
- git push origin master
|
- git push origin master
|
||||||
|
Reference in New Issue
Block a user