forked from conda-forge/pyvisa-py-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (50 loc) · 2.64 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
57
58
59
60
61
62
63
64
65
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-
language: generic
os: osx
osx_image: xcode9.4
env:
matrix:
- CONFIG=osx_
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "vLPoviEb8Iz0ipEQQYgklTgJTycQDmJidMtGlM8RPT2RFvj1VKDO/bnuCYOkXYkRFWlKWQAgwgk6xiw3inu3Qant0DJuIBK3z0ot9ugt+zQ+54RI5eF4gMusATuilwgj7CWIPQULzCryG/9gphmvo8kc3SgulG7vI31y2bjuJx96YgTuBgzC3hbe5DPXUZ9CAES1yrwqJdsRCogu3jISLywTEkrCXO7enVCnL+yDkGGW/GD4YS1H1w58Iwo87cfop3boUf01JZy6oD8R5mibRpBFcphvpi7DEz80gmm3j00keVAFe1JEEcO2S1nVRbv5V72VRrQxfE1n8Us2JqqvI4Vo/oU5qvmwMyPVZ/mh4M72xpl3YN91s2rr5pb0258JeLnGSjlX663llzDra/6BCTkIKh1yTweWpD14KTaF+X4M81ms9Z9XPe1h4jqC2Q/6dFyzmnZM1+ctqRPG/9SQWM/XVl30XWF5SYhluGrcNd2ILpcwCUmipnkdYNyXuRO3EHo7khvhn6nq1Nvkz1do5MotcKxSxt/6VU+jOKHD2QaMIzVxqe/f/ftEjqJ/fZFXuGjqAY0gBk9yF425yWQN5xpfbddoNiqdcseiPdkt9Q1JPx/I8PAzPJwm5bpe28oxrQlm3EsKnDfHbwtRkdW6GfgammSjqqsyi085Iz6J/0s="
before_install:
# Fast finish the PR.
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \
python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1
# 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 install -n root -c conda-forge --quiet --yes conda-forge-ci-setup=2 conda-build
setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml
source run_conda_forge_build_setup
# compiler cleanup
- |
mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml
script:
# generate the build number clobber
- make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml
- conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml
- upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml