mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
23 lines
394 B
YAML
23 lines
394 B
YAML
language: cpp
|
|
before_install:
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install cmake; fi
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then brew install cmake; fi
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
- make
|
|
- make test
|
|
os:
|
|
- linux
|
|
- osx
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
notifications:
|
|
recipients:
|
|
- i@yanyiwu.com
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|