diff options
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 17 | ||||
-rwxr-xr-x | travis-get-deps.sh | 8 |
2 files changed, 17 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 0f3e89a0..31b569bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,16 @@ language: cpp dist: trusty sudo: false +addons: + apt: + packages: &global_deps + - libsqlite3-dev + - libcurl4-openssl-dev + - libxml2-dev + - libstfl-dev + - libjson-c-dev + - libncursesw5-dev + - asciidoc matrix: fast_finish: true @@ -15,6 +25,7 @@ matrix: - ubuntu-toolchain-r-test packages: - g++-4.9 + - *global_deps env: - COMPILER=g++-4.9 - GCOV=/usr/bin/gcov-4.9 @@ -26,6 +37,7 @@ matrix: - ubuntu-toolchain-r-test packages: - g++-5 + - *global_deps env: - COMPILER=g++-5 - GCOV=/usr/bin/gcov-5 @@ -37,6 +49,7 @@ matrix: - ubuntu-toolchain-r-test packages: - g++-6 + - *global_deps env: - COMPILER=g++-6 - GCOV=/usr/bin/gcov-6 @@ -49,6 +62,7 @@ matrix: - llvm-toolchain-precise-3.6 packages: - clang-3.6 + - *global_deps env: - COMPILER=clang++-3.6 - GCOV=/usr/bin/gcov @@ -61,6 +75,7 @@ matrix: - llvm-toolchain-precise-3.7 packages: - clang-3.7 + - *global_deps env: - COMPILER=clang++-3.7 - GCOV=/usr/bin/gcov @@ -73,6 +88,7 @@ matrix: - llvm-toolchain-precise-3.8 packages: - clang-3.8 + - *global_deps env: - COMPILER=clang++-3.8 - GCOV=/usr/bin/gcov @@ -86,6 +102,7 @@ matrix: key_url: "http://apt.llvm.org/llvm-snapshot.gpg.key" packages: - clang-4.0 + - *global_deps env: - COMPILER=clang++-4.0 - GCOV=/usr/bin/gcov diff --git a/travis-get-deps.sh b/travis-get-deps.sh index 8cdaf393..3e4deb70 100755 --- a/travis-get-deps.sh +++ b/travis-get-deps.sh @@ -1,14 +1,6 @@ #!/bin/sh case $TRAVIS_OS_NAME in - "linux") - sudo apt-add-repository -y ppa:jbboehr/php - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install libsqlite3-dev libcurl4-openssl-dev libxml2-dev libstfl-dev libjson-c-dev libncursesw5-dev bc asciidoc - pip install --user cpp-coveralls - ;; - "osx") brew update brew outdated "pkg-config" || brew upgrade "pkg-config" |