Skip to content

Commit

Permalink
CI : osx failingCI : disabling cairo for osx for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Jul 23, 2020
1 parent e977406 commit 012da74
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ matrix:
env:
MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh"
PROJ4_PATH=~/miniconda3
CAIRO=""

- os: osx
osx_image: xcode10.1
env:
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
CAIRO="-D ENABLE_CAIRO=0"

env:
global:
Expand Down Expand Up @@ -93,25 +95,16 @@ script:
# build
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- echo "In build dir--> ${MAGICS_SRC}"
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cmake -D CMAKE_INSTALL_PREFIX=${INSTALL_DIR}
- cmake -D CMAKE_INSTALL_PREFIX=${INSTALL_DIR}
-D ENABLE_FORTRAN=0
${MAGICS_SRC}
fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# No Cairo for osx ..
cmake -D CMAKE_INSTALL_PREFIX=${INSTALL_DIR}
-D ENABLE_FORTRAN=0 -D ENABLE_CAIRO=0
${MAGICS_SRC}
fi
${MAGICS_SRC} ${CAIRO}
- make -j2
- ctest -j2 --output-on-failure
- make install > /dev/null
# test only on linux for now
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
echo "In build dir--> ${MAGICS_PYTHON_SRC}"
cd ${MAGICS_PYTHON_SRC}
pytest
fi
Expand Down

0 comments on commit 012da74

Please sign in to comment.