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 8d1cda6 commit 62e3e98
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,15 @@ install:
script:
# build
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
- echo "In build dir"
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cmake -D CMAKE_INSTALL_PREFIX=${INSTALL_DIR}
-D ENABLE_FORTRAN=0
${MAGICS_SRC}
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
- |
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
Expand All @@ -107,7 +110,8 @@ script:
- ctest -j2 --output-on-failure
- make install > /dev/null
# test only on linux for now
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cd ${MAGICS_PYTHON_SRC}
pytest
fi
Expand Down

0 comments on commit 62e3e98

Please sign in to comment.