Skip to content

Commit

Permalink
travis: run cbc and lp_solve tests on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
msakai committed Dec 24, 2020
1 parent 93b0fd3 commit 5e44c20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -27,8 +27,11 @@ addons:
- c2hs
homebrew:
update: true
taps: brewsci/science
packages:
- cbc
- glpk
- lp_solve

matrix:
include:
Expand Down Expand Up @@ -72,7 +75,7 @@ install:
- if [ -n "$HADDOCK" ]; then FLAGS="$FLAGS --haddock --no-haddock-deps"; fi
- if [ -n "$NOZLIB" ]; then FLAGS="$FLAGS --flag MIP:-WithZLIB"; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then FLAGS="$FLAGS --flag MIP:TestCBC --flag MIP:TestGlpsol --flag MIP:TestLPSolve"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then FLAGS="$FLAGS --flag MIP:TestGlpsol"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then FLAGS="$FLAGS --flag MIP:TestCBC --flag MIP:TestGlpsol --flag MIP:TestLPSolve"; fi

# Build dependencies
- stack --jobs 2 --no-terminal --install-ghc build --test --bench --only-dependencies $FLAGS
Expand Down

0 comments on commit 5e44c20

Please sign in to comment.