Skip to content

Commit 4b11516

Browse files
authored
Merge pull request #500 from weslleyspereira/try-Makefile-on-Travis-CI
Try makefile on travis ci
2 parents 7de0bef + d0deb4b commit 4b11516

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.travis.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,37 @@ addons:
1414
matrix:
1515
include:
1616
- os: linux
17+
name: "CMake Release Test on Linux"
1718
env: CMAKE_BUILD_TYPE=Release
1819
- os: linux
20+
name: "Makefile Test on Linux"
21+
script:
22+
- rm -f make.inc
23+
- cp make.inc.example make.inc
24+
- make -s -j2 all
25+
- make -j2 lapack_install
26+
- os: linux
27+
name: "CMake Coverage Test on Linux"
1928
env: CMAKE_BUILD_TYPE=Coverage
2029
- os: osx
30+
name: "CMake Release Test on Mac OS X"
2131
osx_image: xcode10.3
2232
env: CMAKE_BUILD_TYPE=Release
33+
- os: osx
34+
osx_image: xcode10.3
35+
name: "Makefile Test on Mac OS X"
36+
script:
37+
- rm -f make.inc
38+
- cp make.inc.example make.inc
39+
- make -s -j2 all
40+
- make -j2 lapack_install
2341

24-
script:
42+
before_script:
2543
- export PR=https://github.com/api/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
2644
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
2745
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
46+
47+
script:
2848
- export SRC_DIR=$(pwd)
2949
- export BLD_DIR=${SRC_DIR}/lapack-travis-bld
3050
- export INST_DIR=${SRC_DIR}/../lapack-travis-install

0 commit comments

Comments
 (0)