forked from learningequality/kolibri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
102 lines (89 loc) · 2.52 KB
/
.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Config file for automatic testing at travis-ci.org
language: python
dist: trusty
sudo: required
addons:
chrome: stable
services:
- postgresql
cache:
yarn: true
directories:
- node_modules
- $HOME/.cache/pip
matrix:
include:
- python: "2.7"
env:
- TOX_ENV=pythonbuild2.7
- python: "3.4"
env:
- TOX_ENV=pythonbuild3.4
- python: "3.5"
env:
- TOX_ENV=pythonbuild3.5
- python: "3.6"
env:
- TOX_ENV=pythonbuild3.6
- python: "2.7"
env:
- TOX_ENV=pythonlint
- python: "2.7"
env:
- TOX_ENV=licenses
- python: "2.7"
env:
- TOX_ENV=py2.7
- python: "3.5"
env:
- TOX_ENV=docs
- python: "3.4"
env:
- TOX_ENV=py3.4
- python: "3.5"
env:
- TOX_ENV=py3.5
- python: "3.6"
env:
- TOX_ENV=py3.6
- python: "2.7"
env:
- TOX_ENV=node6.x
- python: "3.5"
env:
- TOX_ENV=postgres
- python: "2.7"
env:
- TOX_ENV=npmbuild
- python: "2.7"
env:
- TOX_ENV=nocext
script:
- tox -e $TOX_ENV
- python: "2.7"
env:
- TOX_ENV=cext
script:
- tox -e $TOX_ENV
before_install:
- git fetch
- git describe --tags --always
# Required until this is fixed: https://github.com/travis-ci/travis-ci/issues/9112
- sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"
- pip install -U pip codecov tox
- . $HOME/.nvm/nvm.sh
- nvm install 6
- nvm use 6
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
# command to run tests
script:
- tox -e $TOX_ENV
after_success:
- coverage combine
- codecov
notifications:
slack:
secure: RH3xqTkkoA2TATYo7onoLlAlw5t7Bek3HqN/e48e1mj3nazTUs05k12e9Cj7I/y7rBu4b1g0Fl4nJ/DOJRD/81o2ML8OAqu4Ngfg149EQysvgHki20CY1LMph0aS5HSACL1yvp8VvDmmpF0F8YGh99ZMeV3qdp0t3AVWSQVIQgVOEjUSPklsf25ikCOqzTRCz90Dp5aIlDUuXtubTATaKQiLfqW8rc/S7Q/JLepmZau5ANFz8cHXn750y6EvEREIE/0gBwH6OWOa1qWCavJPc4z9953zX7rhI85f0eaHVYQ0ojeXJjQG4MOu5kP13tkaLppe1On3fBZLPpeF791EJwgcmEFUd8hDsomfHcxXhHf7+LPwbGjelGr8iY/2ZIWuILY17FmnWyruWyusrHpA1YKBFwjqgo7E06uzwVj9npxbc+WEHuBxTDdaeFYjYRLORvOeJ9y3n+rNs2c9gCvwuq3MzhMWT+KsrrngAibns1Fz/I1YZAY3voipmabeXVLqbLvb8f8xBmwwK14ba0tGMHfnnCfivlruS49qLwpMjASEPY3H8lKyROX94aaWj+B1Fld2kX0L5GN3xkVoT1aJOgOxCF9c7w9Kf1aTcf/T4bfEzjPNf3ZH3rwy/b3YABbQAEdV8SLdrD02+CIYNPzv3/U1y3rmTSg0wLT2elumhv8=