/
.travis.yml
50 lines (41 loc) · 1021 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
39
40
41
42
43
44
45
46
47
48
49
50
language: python
# Run jobs on container-based infrastructure, can be overridden per job
dist: trusty
matrix:
include:
# Extra includes for OSX since python language is not available by default on OSX
- os: linux
python: 3.6
env:
- PYTHON_VER=3.6
- DOCS=1
before_install:
# Additional info about the build
- uname -a
- df -h
- ulimit -a
# Install the Python environment
- source devtools/travis-ci/before_install.sh
- python -V
install:
# Create test environment for package
- conda env create -f kgp_env.yml
- conda activate kgp
- if [[ $DOCS ]]; then conda install sphinx; fi
- pip install -e .
script:
- kugupu -h
#- pytest -v --cov=kugupu kugupu/tests/
after_success:
- if [[ $DOCS ]]; then python setup.py build_sphinx; fi
notifications:
email: false
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: false
on:
branch: master
local_dir: build/sphinx/html
project_name: kugupu