-
Notifications
You must be signed in to change notification settings - Fork 40
/
.travis.yml
52 lines (44 loc) · 1.02 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
sudo: required
dist: trusty
env:
global:
- ENCRYPTION_LABEL: "991eb1667e02"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
language: python
node_js:
- "4.1"
python:
- "3.4"
services: docker
cache:
pip: true
directories:
- node_modules
- coalahtml/_coalahtml/bower_components
install:
- npm install -g bower
- npm install
- cd coalahtml/_coalahtml
- bower install
- cd -
# colorama needs to be upgraded to fix error when installed colorama
# version and required are different.
- pip install colorama==0.3.7
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- >
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
sed -i.bak '/bears = GitCommitBear/d' .coafile
fi
- npm test
- python -m pytest --cov
- codecov
- docker run --volume=$(pwd):/app --workdir=/app coala/base coala-ci
after_success:
- python3 setup.py install
- bash ./.ci/deploy.sh
notifications:
email: false
webhooks: https://www.travisbuddy.com/
on_success: never