Skip to content

Commit

Permalink
Update Travis CI configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Oct 1, 2017
1 parent 5c175b0 commit cce5904
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,28 @@ addons:

language: cpp

env:
global:
- ASIO_TARBALL=https://github.com/chriskohlhoff/asio/archive/asio-1-10-6.tar.gz
- CPLUS_INCLUDE_PATH=asio/include

cache:
directories:
- asio

before_script:
- mysql -u root < test/init.sql
- curl --silent --location $ASIO_TARBALL | tar --strip-components=1 -xzf -

matrix:
include:
- compiler: clang
env:
- CPLUS_INCLUDE_PATH=asio-1-10-6/asio/include
- USE_BOOST_AIO=0
- compiler: clang
env:
- CPLUS_INCLUDE_PATH=asio-1-10-6/asio/include
- USE_BOOST_AIO=1

services: mysql

before_script:
- mysql -u root < test/init.sql
- git clone --branch asio-1-10-6 https://github.com/chriskohlhoff/asio.git asio-1-10-6

script: scons USE_BOOST_ASIO=${USE_BOOST_ASIO:-0}

0 comments on commit cce5904

Please sign in to comment.