-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (25 loc) · 916 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
dist: xenial
language: python
python:
- "3.7"
cache:
- pip
- npm
addons:
chrome: stable
install:
- pip install -r requirements.txt
before_script:
- npm install
- npm install -g gulp-cli
- gulp --gulpfile gulpfile.prod.js build
- docker-compose -f supporting.yml up -d
- wget https://chromedriver.storage.googleapis.com/74.0.3729.6/chromedriver_linux64.zip -O temp.zip; unzip temp.zip; rm temp.zip; mv chromedriver ${HOME}/bin/chromedriver
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- pytest --cov=programdom --cov-report xml:coverage.xml tests/
after_script:
- ./cc-test-reporter after-build --id b99c3291b5f5f531ea098cdb806a1f0e9e7a45bcc59858dd18962ec3029300b9 --exit-code $TRAVIS_TEST_RESULT
- docker-compose -f supporting.yml down