forked from kizniche/Mycodo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
21 lines (21 loc) · 948 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: python
os: linux
dist: precise
python:
- 2.7
before_install:
- sudo apt-get update
- sudo apt-get install -y gawk git libav-tools libffi-dev libi2c-dev python-dev python-numpy python-opencv python-setuptools python-smbus sqlite3
- git clone git://git.drogon.net/wiringPi && cd ./wiringPi && ./build && cd ..
- wget abyz.co.uk/rpi/pigpio/pigpio.zip && unzip pigpio.zip && cd ./PIGPIO && make -j4 && sudo make install && cd ..
- pip install --upgrade pip webtest
- wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.1_amd64.deb && sudo dpkg -i influxdb_1.2.1_amd64.deb
- sudo service influxdb start
- influx -execute "CREATE DATABASE mycodo_db"
- influx -database mycodo_db -execute "CREATE USER mycodo WITH PASSWORD 'mmdu77sj3nIoiajjs'"
install:
- pip install --upgrade -r install/requirements.txt
virtualenv:
system_site_packages: true
script:
- cd mycodo && python -m pytest tests/software_tests -s