-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (42 loc) · 1.83 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
34
35
36
37
38
39
40
41
42
language: generic
os:
- osx
osx_image: xcode6.4
env:
global:
- PREFIX=$HOME/grass
- MACOSX_DEPLOYMENT_TARGET="10.9"
- MINICONDA_URL_BASE="https://repo.continuum.io/miniconda/Miniconda2-latest"
- TRAVIS_PYTHON_VERSION="2.7"
- secure: wWov3g95kPrn6qkffTEBKADmOecDm1suiA8Z+LAO2qYgf7BryF8CHO9HkG6tkjlDx6GFsaoe6yCQ6vE8lHgCQhnna83yK0wfbdCSg2zguPXOTYnGPsov5SZCBk7KdipnimzfFtRngf2yrYVh5WAasj4wky1v9o8qlT/VMEIBOy0nIHUagvbvnR99B24bjTR9cWdyv/kxa56EanHEvBGMtP5BigcvpkOsxhwLBXFonQCVHFiHcLYiaI30DlGIzNqxYv0DO4cz9HxVSovJpY5VWyxHHeglkaLgahdMxd22/ToJJzRpCnFZiB4Bjq3bSeM4MvvBGuSZ5ekH0COqojQW913zud6CvacN2vCPZIUttDuHKfGRXXr3ojBsFJXCeF1GmnbIi2ZG75Mq39rqgN+h1erjO1XMalana6e6ggVSDe6uxJYyZJGWuIycQkuFX83O7BZek2dpxPhhxsuClFtE24JCkEG+JZMGUE5TFI+3dVB8VFWEONsDaCx4cP88OkGwt+Vng7jj5flOVGMA6Tgg7UeFXDSy9iqcohH5w+G1fHNqDLSAkXAWUwJatlQZ1I57ZxbzJyoD1CyYgCfQBpWirmiR/EnZKYCyy/HD20qfZ/c7mdEQ1dsDxbtYMXbm8VAzxFlYwEm/YSS8hTBzIik6+5VMMrhpXu70rs24f3SIow8=
sudo: false
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew remove --force $(brew list)
brew cleanup -s
rm -rf $(brew --cache)
fi
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="MacOSX-x86_64"
else
OS="Linux-x86_64"
fi
- curl $MINICONDA_URL_BASE-$OS.sh > $HOME/minconda.sh
- bash $HOME/minconda.sh -b -p $PREFIX
- export PATH="$PREFIX/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda install python=$TRAVIS_PYTHON_VERSION
- conda install -q conda-build anaconda-client
- conda list
- conda info -a
script:
- travis_wait 40 conda build ./recipe -c noaa-orr-erd -c conda-forge --old-build-string
after_success:
- curl https://raw.githubusercontent.com/csdms/ci-tools/master/anaconda_upload.py
> $HOME/anaconda_upload.py
- echo $ANACONDA_TOKEN | python $HOME/anaconda_upload.py ./recipe --channel=main --org=csdms-stack
--old-build-string --token=-