Skip to content

Commit

Permalink
Merge pull request #63 from cchampet/travis_addOSX
Browse files Browse the repository at this point in the history
Travis: added build on osx
  • Loading branch information
cchampet authored Aug 2, 2016
2 parents dc27752 + 7fce0b8 commit 5979645
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:

os:
- linux
- osx

compiler:
- gcc
Expand Down Expand Up @@ -35,13 +36,14 @@ cache:
apt: true

install:
# Get install test ressources
# Install dependencies
- ./tools/travis/install_dependencies.sh

# Install coverage tools
- ./tools/travis/gcc.install.coverage.sh

before_script:
# Install test ressources
- ./tools/travis/install_ressources.sh

script:
Expand Down
6 changes: 6 additions & 0 deletions tools/travis/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ cd googletest
cmake . -DCMAKE_INSTALL_PREFIX=${GTEST_INSTALL}
make -k
make install

# Install additional dependencies in case of osx environment
if [ ${TRAVIS_OS_NAME} = "osx" ]; then
brew update
brew install scons lcov libsndfile qt
fi

0 comments on commit 5979645

Please sign in to comment.