-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (42 loc) · 2.06 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
43
44
45
language: generic
os: osx
osx_image: xcode6.4
env:
matrix:
- CONDA_PY=27
- CONDA_PY=35
- CONDA_PY=36
global:
- secure: lUAZhJ8BioES+uqC+xcYMcBznFUAnKZzPJAQ1URM0XLJu9exylvjp4llASqhE6P7L3MWoypw3VR+EOnhphEmlmLX11ygyf2XLNnKEkSUDViPs1YdACK50A0o/ysCDM33ufmFi0/8e/yJu8gXf9/KOfojd0YGeyd7K7O0ApJ3B+tzNDH7X/HF/aV7A6ws2tnFcl5UA/aQ+HHfQLQQTh2B1UFbKzSeNSnkpsFvTRso0iPVR+LpmuocOyEycsBCShsTdoO5W7/KyDygPrpMW90/6xeiNkCueYRcUdewdBCbhK9YWJRPJRoV5x97W3llcupn8XJfDAgN5GVssNkVNj1CiNoPRTdsH1eegodB95JRREu5+auS/7U0HIPFr+yX3ZTFafFiT4y15enN/Xr7+sG1YnAbMv+z0p9wYrum2DHGewX951bUfNmAK/6NmKs/8N9wsC8coh1awoGxVp8SDlUUUoZaZpvl9/Ba52CkEgQdU7g5i0hAaEG8wPSfygApFjxWsWaTNwWypLxAhTUAgJu16qLBDHC/c2OGV+v6SXQfrTx6Fy2x0o9nNnXnFxDDHcdC1VnmleTYa1vsIjQsnz5CAq/CRUjFX9PXj48GJOBR2GvRNyN6BImetDwC9DQqQMRCAXYMxs185Eh4ydR+Tmf2WlQzE8BCKa2s+BWI5m4ICno=
before_install:
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-build-setup-feedstock/master/recipe/ff_ci_pr_build.py | \
python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1
- |
echo ""
echo "Removing homebrew from Travis CI to avoid conflicts."
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew
chmod +x ~/uninstall_homebrew
~/uninstall_homebrew -fq
rm ~/uninstall_homebrew
install:
- |
echo ""
echo "Installing a fresh version of Miniconda."
MINICONDA_URL="https://repo.continuum.io/miniconda"
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
- |
echo ""
echo "Configuring conda."
source /Users/travis/miniconda3/bin/activate root
conda config --remove channels defaults
conda config --add channels defaults
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
script:
- conda build ./recipe
- upload_or_check_non_existence ./recipe pylbm --channel=main