forked from conda-forge/lalframe-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (49 loc) · 2.54 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
# 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:
- CONFIG=osx_python2.7
- CONFIG=osx_python3.5
- CONFIG=osx_python3.6
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "pCkylNHubTSzLstnQzNlRkY6tHxs2YzblfjRiEqtpg5kBCLtZ2EE3Modhaov/Z1Won5HyLnG2OBspOncIfWT6cGIoN3mvwR7rHwRBQ23AYQUiujtr7khcDYxiMyznPMPCBp4PHmmNN1/SstyeS+6Ha4rGZDtQJuZgn27Ii4hD0sUVHmjddN1xc5DyWE6C2C0wvEbMpikOILzm3y/cqqvEjFunTolZmVnl25B0gdt80M417OV5mS06sqCmN3T4WPZ1yQ8LuYtyh8HUNYy2N9d3smtAAapcZgMtlkVTdn33VcLaIk045t+xn9TO04sDn9WVZW5otgmQa8eUrVh3TteWybZ+PMbVb5yV71R4Cnh6b4EbVMZnuSwqJp1iRAHlPABa8NNSZ3zNSDGOhW2Sy8R5rmI7q7uQzWMckCGYpwm5ThFO9BqrrBWgWqgVPI36Kb31serPgy8o2ShrWX9l/68Wpx8G8wtOlV00Cz67bLLuXYtGOukubmyWGGZeYoROvVM5AObmY5A3/9bfTKgDQiIioMqrcJ7P0LNBL0ZuUEE1U13my3RjxoG/JmzYCy+QvuAgnUBoydlQscEJ+6qKl68E6H1QYPzlkHEw6CVZJ7KfnQRSOYe/ZulytKc5B19TYRVKlw2o6vsIKLqdIh4U1tjiMFJcY/Fn5PshqDLwOdKTJE="
before_install:
# Fast finish the PR.
- |
(curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/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 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-ci-setup=1
source run_conda_forge_build_setup
script:
- conda build ./recipe -m ./.ci_support/${CONFIG}.yaml
- upload_or_check_non_existence ./recipe conda-forge --channel=main -m ./.ci_support/${CONFIG}.yaml