Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 1.11 KB
Copy Edit Web IDE Raw Blame History
dist: trusty
language: cpp
compiler:
- g++
branches:
only:
- master
- dev
env:
global:
- CI_HOME=`pwd`
install:
- sudo apt-get install libboost-all-dev -y
- sudo apt-get install libevent-dev -y
- sudo apt-get install libgflags-dev -y
- sudo apt-get install libgtest-dev -y
- sudo apt-get install libgoogle-glog-dev -y
script:
- g++ --version
- cmake --version
- cd $CI_HOME
- pwd
- git submodule update --init --recursive
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=debug ..
- make -j2
- cd ..
- mkdir build-release && cd build-release
- cmake -DCMAKE_BUILD_TYPE=release ..
- make -j2
- pwd
after_success:
- cd $CI_HOME
- pwd
- curl -L https://github.com/nsqio/nsq/releases/download/v0.3.8/nsq-0.3.8.linux-amd64.go1.6.2.tar.gz -o nsq-0.3.8.linux-amd64.go1.6.2.tar.gz
- tar zxvf nsq-0.3.8.linux-amd64.go1.6.2.tar.gz
- pwd
- make test -C build
- make test -C build-release
- cd $CI_HOME
- pwd
- cd tools/test_scripts
- pwd
- /bin/bash ./evnsq_test.sh
- pwd
# - coveralls --exclude dependencies --exclude test --gcov /usr/bin/gcov-5

Comment ( 0 )

Sign in for post a comment