提交 0ef22aa1 编写于 作者: S superjom

update

上级 4ce5ab08
......@@ -3,7 +3,6 @@ cache:
directories:
- $HOME/.ccache
- $HOME/.cache/pip
- $TRAVIS_BUILD_DIR/build/third_party
sudo: required
dist: trusty
os:
......@@ -20,15 +19,8 @@ addons:
- python-wheel
- clang-format-3.8
- ccache
- cmake
before_install:
- sudo apt-get upgrade cmake --yes
script:
- mkdir -p build
- cd build && cmake .. && make && make test
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./travis/run_on_pull_requests; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./travis/run_on_non_pull_requests; fi
/bin/bash ./tests.sh
notifications:
email:
......
#!/bin/bash
set -ex
sudo apt-get upgrade cmake -y
mkdir -p build
cd build
cmake ..
make
make test
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./travis/run_on_pull_requests; fi
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./travis/run_on_non_pull_requests; fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册