Skip to content

Try makefile on travis ci #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,37 @@ addons:
matrix:
include:
- os: linux
name: "CMake Release Test on Linux"
env: CMAKE_BUILD_TYPE=Release
- os: linux
name: "Makefile Test on Linux"
script:
- rm -f make.inc
- cp make.inc.example make.inc
- make -s -j2 all
- make -j2 lapack_install
- os: linux
name: "CMake Coverage Test on Linux"
env: CMAKE_BUILD_TYPE=Coverage
- os: osx
name: "CMake Release Test on Mac OS X"
osx_image: xcode10.3
env: CMAKE_BUILD_TYPE=Release
- os: osx
osx_image: xcode10.3
name: "Makefile Test on Mac OS X"
script:
- rm -f make.inc
- cp make.inc.example make.inc
- make -s -j2 all
- make -j2 lapack_install

script:
before_script:
- export PR=https://github.com/api/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"

script:
- export SRC_DIR=$(pwd)
- export BLD_DIR=${SRC_DIR}/lapack-travis-bld
- export INST_DIR=${SRC_DIR}/../lapack-travis-install
Expand Down