-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
33 lines (27 loc) · 1.05 KB
/
.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
language: c
sudo: false
branches:
only:
- master
before_install:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_05e80f56939b_key -iv $encrypted_05e80f56939b_iv -in .pypirc.enc -out ~/.pypirc -d || true'
install:
- wget https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py
- python bootstrap-obvious-ci-and-miniconda.py ~/miniconda x64 2 --without-obvci && source ~/miniconda/bin/activate root
- conda install --yes conda-build
- conda config --add channels r
env:
matrix:
- CONDA_PY=2.7
- CONDA_PY=3.3
- CONDA_PY=3.4
script:
# this builds the binary, unpacks it, and runs the tests
- conda build devtools/conda-recipe
after_success:
- '[ "${CONDA_PY}" = "2.7" ] &&
conda install --yes ~/miniconda/conda-bld/*/pyhmc*.bz2 &&
conda install --yes cython pip numpy scipy sphinx numpydoc statsmodels &&
pip install sphinx_rtd_theme &&
cd docs && make html && cd - &&
python setup.py upload_docs --upload-dir docs/_build/html'