Skip to content

Commit cce5904

Browse files
committed
Update Travis CI configurations
1 parent 5c175b0 commit cce5904

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,28 @@ addons:
1010

1111
language: cpp
1212

13+
env:
14+
global:
15+
- ASIO_TARBALL=https://github.com/chriskohlhoff/asio/archive/asio-1-10-6.tar.gz
16+
- CPLUS_INCLUDE_PATH=asio/include
17+
18+
cache:
19+
directories:
20+
- asio
21+
22+
before_script:
23+
- mysql -u root < test/init.sql
24+
- curl --silent --location $ASIO_TARBALL | tar --strip-components=1 -xzf -
25+
1326
matrix:
1427
include:
1528
- compiler: clang
1629
env:
17-
- CPLUS_INCLUDE_PATH=asio-1-10-6/asio/include
1830
- USE_BOOST_AIO=0
1931
- compiler: clang
2032
env:
21-
- CPLUS_INCLUDE_PATH=asio-1-10-6/asio/include
2233
- USE_BOOST_AIO=1
2334

2435
services: mysql
2536

26-
before_script:
27-
- mysql -u root < test/init.sql
28-
- git clone --branch asio-1-10-6 https://github.com/chriskohlhoff/asio.git asio-1-10-6
29-
3037
script: scons USE_BOOST_ASIO=${USE_BOOST_ASIO:-0}

0 commit comments

Comments
 (0)