forked from automl/ConfigSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (34 loc) · 807 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
language: python
sudo: false
env:
matrix:
- DISTRIB="conda" PYTHON_VERSION="3.5"
- DISTRIB="conda" PYTHON_VERSION="3.6" RUN_FLAKE8="true"
- DISTRIB="conda" PYTHON_VERSION="3.7" DOCPUSH="true" INSTALL_FROM_SDIST="true"
global:
- TEST_DIR=/tmp/test_dir/
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
cache:
directories:
- $HOME/.cache/pip
pip: true
git:
depth: 5
install:
- source ci_scripts/install.sh $INSTALL_FROM_SDIST
# command to run tests, e.g. python setup.py test
script:
- source ci_scripts/test.sh
after_success:
- codecov
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
committer-from-gh: true
on:
branch: master
condition: $doc_result = "success"
local_dir: docs/$TRAVIS_BRANCH