forked from ergoithz/browsepy
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
55 lines (48 loc) · 913 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: python
addon:
apt:
nodejs
matrix:
include:
- python: "2.7"
- python: "pypy"
# pypy3 disabled until fixed
#- python: "pypy3"
- python: "3.3"
- python: "3.4"
- python: "3.5"
- python: "3.6"
env:
- eslint=yes
- sphinx=yes
install:
- pip install --upgrade pip
- pip install travis-sphinx flake8 pep8 codecov coveralls .
- |
if [ "$eslint" = "yes" ]; then
nvm install stable
nvm use stable
npm install eslint
export PATH="$PWD/node_modules/.bin:$PATH"
fi
script:
- make travis-script
- |
if [ "$eslint" = "yes" ]; then
make eslint
fi
- |
if [ "$sphinx" = "yes" ]; then
make travis-script-sphinx
fi
after_success:
- make travis-success
- |
if [ "$sphinx" = "yes" ]; then
make travis-success-sphinx
fi
notifications:
email: false
cache:
directories:
- $HOME/.cache/pip