diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-06-09 17:18:56 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-06-09 17:18:56 +0200 |
commit | 77e38a1da34b2373ac0d8f23dc6a06abd937f86c (patch) | |
tree | 522b15945ab6eff7c19a6dd6f6378022232c1fed | |
parent | 8e42eebc6279dc166c5034329f10ea8196c90b02 (diff) |
Travis/CI: Switch to sudoless container mode and cleanup installed libraries
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 066a5864ee9..dcc4a974c28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: required +sudo: false dist: trusty language: cpp @@ -8,10 +8,23 @@ compiler: git: depth: 1 +addons: + apt: + packages: + - libboost1.55-dev + - libboost-filesystem1.55-dev + - libboost-iostreams1.55-dev + - libboost-program-options1.55-dev + - libboost-regex1.55-dev + - libboost-system1.55-dev + - libboost-thread1.55-dev + - libssl-dev + - libmysqlclient-dev + - libreadline6-dev + - zlib1g-dev + - libbz2-dev + before_install: - - sudo apt-get -qq install build-essential libtool make cmake cmake-data openssl - - sudo apt-get -qq install libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev - - sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev libboost-iostreams1.55-dev libboost-regex1.55-dev - git config user.email "travis@build.bot" && git config user.name "Travis CI" - git tag -a -m "Travis build" init |