提交 e904ce58 编写于 作者: S superjom

update

上级 eb4bd50d
...@@ -3,7 +3,6 @@ cache: ...@@ -3,7 +3,6 @@ cache:
directories: directories:
- $HOME/.ccache - $HOME/.ccache
- $HOME/.cache/pip - $HOME/.cache/pip
- $TRAVIS_BUILD_DIR/build/third_party
sudo: required sudo: required
dist: trusty dist: trusty
os: os:
...@@ -20,15 +19,8 @@ addons: ...@@ -20,15 +19,8 @@ addons:
- python-wheel - python-wheel
- clang-format-3.8 - clang-format-3.8
- ccache - ccache
- cmake
before_install:
- sudo apt-get upgrade cmake --yes
script: script:
- mkdir -p build /bin/bash ./tests.sh
- 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
notifications: notifications:
email: 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.
先完成此消息的编辑!
想要评论请 注册