-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
49 lines (42 loc) · 1.24 KB
/
.travis.yml
File metadata and controls
49 lines (42 loc) · 1.24 KB
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
dist: trusty
language: python
# specify the python versions for which you want to run travis
python:
- 3.8
install:
# install the package
- pip install -U pip
- pip install --progress-bar off -r requirements.txt
- pip install --progress-bar off -r dev_requirements.txt
- pip install .
script:
# test import
- python -c "import dataset"
# the following stages only start if the "test" stage above all succeed
jobs:
include:
- stage: Documentation
python: 3.8
before_install: skip
install:
- pip install --progress-bar off -r requirements.txt
- pip install --progress-bar off -r dev_requirements.txt
before_script: skip
script:
# build documentation pages
- cd docs && make html && cd ..
deploy:
- provider: pages
skip_cleanup: true
repo: ai4scr/dataset-dev
github_url: github.ibm.com # defaults to github.com
github_token: $GITHUB_TOKEN
local_dir: docs/_build/html
on:
branch: master
#notifications:
# slack:
# rooms:
# - ibm-research:z9S4zBzMdiTWeLeqO0kOl4TJ # generate here https://ibm-research.slack.com/apps/new/A0F81FP4N-travis-ci
# on_success: false
# on_failure: always