forked from NITDgpOS/UIP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·41 lines (36 loc) · 950 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
cache: pip
matrix:
include:
- os: linux
sudo: required
dist: trusty
python: 3.5
- os: osx
language: generic
cache:
directories:
- $HOME/Library/Caches/pip
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install python3;
virtualenv venv -p python3;
source venv/bin/activate;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install gsettings-desktop-schemas python3-gi python3-gi-cairo libglib2.0-dev libffi-dev libgirepository1.0 libcairo2-dev python3-cairo-dev;
.scripts/PYGO.sh;
fi
before_script:
- make test-install
script:
- make install
- make lint
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
dbus-launch pytest;
else
make test;
fi
after_success:
- bash <(curl -s https://codecov.io/bash)