forked from yyzybb537/libgo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (29 loc) · 1.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository -y ppa:kojoley/boost
- sudo apt-get update -y || echo "update error"
- lsb_release -a
install:
- git clone https://github.com/yyzybb537/Boost-dev-bin.git /tmp/boost-dev-bin && sudo dpkg -i /tmp/boost-dev-bin/libboost1.59-all-dev.deb
- ls /usr/local/lib/libboost*
- sudo ldconfig
- sudo apt-get install -y -qq cmake
script:
- mkdir build; pushd build;
- cmake .. && make -j4 && sudo make install && make test_small && make tutorial && make run_test
- sudo rm * -rf && cmake .. -DENABLE_BOOST_COROUTINE=ON -DWITH_SAFE_SIGNAL=ON && make -j4 && sudo make install && make test_small && make tutorial && make run_test
- sudo rm * -rf && cmake .. -DENABLE_BOOST_COROUTINE=ON && make -j4 && sudo make install && make test_small && make tutorial && make run_test
- sudo rm * -rf && cmake .. -DENABLE_BOOST_CONTEXT=ON && make -j4 && sudo make install && make test_small && make tutorial && make run_test
- popd;
after_success:
-
branches:
only:
- dev
- master
notifications:
email: true