Skip to content

Commit

Permalink
Removed the gmock download from the travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
basvodde committed Dec 28, 2013
1 parent 0623985 commit 891d642
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@ install:
- gem install travis_github_deployer
- sudo apt-get update --fix-missing
- sudo apt-get install valgrind
- wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
- unzip gmock-1.6.0.zip
- cd gmock-1.6.0
- ./configure && make
- cd ..
before_script:
- export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
- export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest
- export CPPUTEST_BUILD_DIR=$TRAVIS_BUILD_DIR/cpputest_build
- mkdir -p $CPPUTEST_BUILD_DIR && cd $CPPUTEST_BUILD_DIR
script:
Expand Down
19 changes: 11 additions & 8 deletions scripts/travis_ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,22 @@ if [ "x$BUILDTOOL" = "xautotools" ]; then
fi

if [ "x$BUILDTOOL" = "xcmake" ]; then
wget https://googlemock.googlecode.com/files/gmock-1.6.0.zip
unzip gmock-1.6.0.zip
cd gmock-1.6.0
./configure && make
cd ..

export GMOCK_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0
export GTEST_HOME=$TRAVIS_BUILD_DIR/gmock-1.6.0/gtest


cmake .. -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE || exit 1
make || exit 1
ctest -V || exit 1
fi

if [ "x$BUILDTOOL" = "xcmake" ]; then

cmake .. -DGMOCK=ON || exit 1
make || exit 1
ctest -V || exit 1
fi

if [ "x$BUILDTOOL" = "xcmake" ]; then
cmake .. -DGMOCK=ON -DREAL_GTEST=ON || exit 1
make || exit 1
ctest -V || exit 1
fi

0 comments on commit 891d642

Please sign in to comment.