forked from pelson/Obvious-CI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (23 loc) · 1.15 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
# The language in this case has no bearing - we are going to be making use of "conda" for a
# python distribution for the scientific python stack.
language: c
sudo: false
env:
global:
- TARGET_ARCH="x64"
- CONDA_INSTALL_LOCN="${HOME}/conda"
# Defines BINSTAR_TOKEN (for pelson)
- secure: "NlB/4DcLa/aj4SssKXxW/XLz/6Eg8UWYNixHnvSd4l5TbrX+yJjlxRuaOo5DEVCP/qBvg1m0lPtGjZ4frmqTRkhPO59JDC8ICjjykTXbN07pgpogKkWdk2XrXVUsWvo17+SZISCNZc6QBtk5iLfzjZgDZu+yDrs3BCv11Byuiao="
matrix:
# These items are used by the miniconda installer, but also by the conda build phase.
- CONDA_PY=27
- CONDA_PY=34
- CONDA_PY=35
install:
- python ./bootstrap-obvious-ci-and-miniconda.py ${CONDA_INSTALL_LOCN} ${TARGET_ARCH} ${CONDA_PY::1} --without-obvci
- source ${CONDA_INSTALL_LOCN}/bin/activate root
- scripts/obvci_install_conda_build_tools.py
script:
- conda build obvious-ci.conda
after_success:
- if [[ ( "$TRAVIS_PULL_REQUEST" == 'false' ) && ( "$TRAVIS_BRANCH" == 'master' ) ]] ; then anaconda -t ${BINSTAR_TOKEN} upload $(conda build obvious-ci.conda --output) -u pelson -c development --force; fi