forked from conda-forge/slicerator-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (45 loc) · 2.18 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
46
47
48
49
50
51
52
53
54
55
56
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
language: generic
os: osx
osx_image: xcode6.4
env:
matrix:
- CONDA_PY=27
- CONDA_PY=35
- CONDA_PY=36
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "avSCB+9IYrlMEOeYIMrWVCj12560TUuJOKnR2BJRA8HO0JiadyYYcdM/DZ+Ds9rlOYai6OtZ3pN8RIudQWmXNLsH0SdMmOFZB3hR5aKJ17Qltke6tuZdFaG/W35w5mQNVo5gk4G1yKQ4Ztn9PtfAh3PSkJ/wMYoysM0RwdllN4PJoinXOa2TYkIRiAUOzCpJtk6audB8MO01QlxDV7hpQWrF2KK0uiS8ea3V/iA0Nv5uCNvW1UMygByHZV7kXQP03dlheUMJor5U1VZDrDnkp3upwZUGEGaAEZB9pB7JtnwXV1PyKKLIb10alWyl0kBpvrz/tY0G/eODP+dpuLiZdeoAuAZevcRcNz0ScvSsxGYSgFHAG3nHdQ8IFebncmhzOeYFqT3UdM4dCMC3A35os5JiYWD99EPi3yywmeHTXbDKU09SfGQxTdXusQWBBgKbkNoGzbfJ5L54VDrdYl6bMBePvpJjqJ1gGe8I1kRU2OEd3ZQkx8weG/Y4eoUXIDmH4KyYJk478rLzKGbl0RqZILP31jj7/U23DJE/t6uECIoSdewk8PYjaIePGxKXdELwZWPmoNkUYdxPLwF0IEaB4e4JR2/mtEqKOSE9ya6yL5+1mnQEyHj25bqYUHcSyC7J/A0g3xA9oKwULvx7BqoJ5JGb9IFKFxeKE0q7/HV77HE="
before_install:
# Remove homebrew.
- |
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:
# Install Miniconda.
- |
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
# Configure conda.
- |
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 conda-forge --channel=main