-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (29 loc) · 906 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
sudo: required
matrix:
include:
- language: python
python:
- '3.6.1'
env:
- CODECOV_TOKEN=219366db-cfde-4936-967d-25072639f80f
cache: pip
install:
- pip install codecov
script:
- pip install -r requirements.txt
- cd src
- python manage.py makemigrations
- python manage.py migrate
- coverage run --omit=*/site-packages/* manage.py test comex_stat/assets
after_success:
- codecov
- language: node_js
node_js:
- '8'
cache:
yarn: true
script:
- git config --global user.name "${GH_NAME}"
- git config --global user.email "${GH_EMAIL}"
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
- cd docs/website && yarn install && GIT_USER="${GH_NAME}" GIT_BRANCH=master yarn run publish-gh-pages