forked from SciTools/conda-recipes-scitools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (24 loc) · 1.5 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
# 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
os:
- linux
- osx
env:
global:
# Add the BINSTAR_TOKEN environment variable. This has been generated with "binstar auth --create" and is valid for the next 12 months.
# The token was constructed with "travis encrypt BINSTAR_TOKEN=<token_id> --repo SciTools/conda-recipes-scitools
secure: "kH4jnmQ3m3wH1T1TcjuJQKvWEym8ZBR8jXBu2Uqg2bJvpRM9xrkg79t5i0fSNX2wfEeuSg0X6Tb8kL10I78tAnjgIqs6MfDsGncZMqggTnFwzyC0jtus8ZLKL4ED42NnXpfAfnHVXibHdFyhCxey4ZW8ZV5d15v5DZ3/apobEJ0="
matrix:
- CONDA_PY=27 CONDA_NPY=18
install:
# Install makeinfo - needed for constructing configuration files via autoreconf (in particular for udunits)
- if [[ "$OSTYPE" == "linux-gnu" ]]; then sudo apt-get install texinfo; fi
- 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 config --set show_channel_urls True && conda config --add channels http://conda.binstar.org/pelson/channel/main
- conda install -c http://conda.binstar.org/pelson/channel/development --yes --quiet obvious-ci
- conda config --add channels http://conda.binstar.org/pelson
- obvci_install_conda_build_tools.py
script:
- obvci_conda_build_dir.py ./ pelson --channel main