1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

23 lines
606 B
YAML
Raw Normal View History

2019-06-18 10:59:52 -04:00
---
2019-06-16 13:04:47 -07:00
language: python
python:
2019-06-18 10:59:52 -04:00
- '3.6'
2019-06-16 13:04:47 -07:00
before_install:
2019-06-18 10:59:52 -04:00
- 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
2019-06-16 13:04:47 -07:00
install:
2019-06-18 10:59:52 -04:00
- pip3 install -r requirements.txt
2019-06-17 00:52:35 -07:00
before_script:
2019-07-08 00:41:47 -07:00
- pip3 uninstall -y -r ./tests/requirements_dev.txt
2019-06-18 10:59:52 -04:00
- pip3 install -r ./tests/requirements_dev.txt
- black --check hyperglass
2019-07-08 01:20:37 -07:00
- python3 ./manage.py pylint-check -e
2019-06-18 10:59:52 -04:00
- python3 ./tests/ci_prepare.py
2019-06-16 17:13:02 -07:00
script:
2019-06-18 10:59:52 -04:00
- nohup python3 ./tests/ci_dev_server.py &
- sleep 20
- python3 ./tests/ci_test.py