1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
2019-06-17 00:49:34 -07:00

23 lines
618 B
YAML

language: python
python:
- '3.6'
before_install:
- sudo add-apt-repository universe -y
- sudo apt-get update -q
- sudo apt-get install -y redis-server redis-tools
- sudo systemctl start redis-server
- pip3 install -r ./tests/requirements_dev.txt
install:
- pip3 install -r requirements.txt
after_install:
- git remote add origin git@github.com/checktheroads/hyperglass.git > /dev/null 2>&1
- sh ./tests/check_code.sh
before_script:
- python3 ./tests/ci_prepare.py
script:
- nohup python3 ./tests/ci_dev_server.py &
- sleep 20
- python3 ./tests/ci_test.py
after_success:
- git push --quiet --set-upstream origin master