update before_install for mac

This commit is contained in:
yanyiwu 2015-09-11 18:08:21 +08:00
parent 0ffc0f8079
commit 63ca914176

View File

@ -1,13 +1,13 @@
language: cpp language: cpp
before_install: before_install:
- sudo apt-get install cmake - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install cmake; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew install cmake; fi
script: script:
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - cmake ..
- make - make
- ./test/test.run - make test
- ./load_test
os: os:
- linux - linux
- osx - osx