Skip to content

Commit

Permalink
Generate packages with cpack on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Foster committed Jun 14, 2017
1 parent f1a1e3b commit 8edb9fe
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ env:
- DISPLAZ_BUILD_TYPE=Release
- DISPLAZ_BUILD_TYPE=Debug

matrix:
exclude:
# Only check gcc on linux and clang on OS X
- os: linux
compiler: clang
- os: osx
compiler: gcc

# either whitelist or blacklist branches
branches:
only:
Expand Down Expand Up @@ -63,10 +71,8 @@ script:
- if [ "$TRAVIS_OS_NAME" != "osx" ] ; then ctest -VV ; fi
- cd ..

matrix:
exclude:
# Only check gcc on linux and clang on OS X
- os: linux
compiler: clang
- os: osx
compiler: gcc
after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cpack -G DEB; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cpack -G RPM; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cpack -G DragNDrop; fi

0 comments on commit 8edb9fe

Please sign in to comment.