forked from mikaem/fenicstools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 1.33 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
language: generic
os: osx
osx_image: xcode7.3
sudo: false
env:
matrix:
- CONDA_PY=27
global:
- FENICS_VERSION="2017.1.dev"
- secure: "JsygfPwIhsn6ywcqP2PjQhwNMZ3KuNuEo0Zyyg1r0KlyVHuGBnt/HUoLjtTGa7mjCvvevCko+BbAaTjTLB56OiqXiteMoutAQMSEjbM9tKV9TwgTcCtPSwMq8Kk1QqiAHRgQW/VWWlEUlIrXE3Zas34+3i1+xvA1ovettMrlFU4="
before_install:
# Remove homebrew.
- brew remove --force $(brew list)
- brew cleanup -s
- rm -rf $(brew --cache)
install:
- MINICONDA_URL="https://repo.continuum.io/miniconda"
- MINICONDA_FILE="Miniconda-latest-MacOSX-x86_64.sh"
- curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
- bash ${MINICONDA_FILE} -b -p $HOME/miniconda2
- export PATH="$HOME/miniconda2/bin:$PATH"
- unset PYTHONPATH
- conda config --set always_yes yes
- conda config --set show_channel_urls true
- conda config --add channels conda-forge
- conda config --add channels mikaem/label/OSX-10.11-clang
- conda update -q conda
- conda install -c conda-forge conda-forge-build-setup
- source run_conda_forge_build_setup
- cd fenicstools
- git fetch --unshallow
- cd ..
after_failure:
- find ${INSTANT_CACHE_DIR}/error -name '*.log' -print -exec cat '{}' \;
script:
- |
conda build conf/conda
upload_or_check_non_existence ./conf/conda mikaem --channel main || exit 1