From ffd14326f4bb82b5e7567dc39725b375dbd82794 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Wed, 16 Aug 2017 01:18:06 +0200 Subject: [PATCH] travis... --- .travis.yml | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41f85d8..daf5d3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,18 @@ -# Ubuntu 14.04 Trusty support -sudo: required -dist: trusty - language: cpp +compiler: gcc +dist: trusty -addons: - apt: - sources: - # add PPAs with more up-to-date toolchains - - ubuntu-toolchain-r-test - packages: - # install toolchains - - g++-4.8 - #- clang-3.6 - -compiler: - #- clang - - gcc +before_install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq -branches: - only: - - master +install: + - sudo apt-get install -qq g++-6 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 -script: +script: + #- g++ main.cpp -std=c++17 -o travis_gcc_cpp17 + #- ./travis_gcc_cpp17 + - make reset - make - make clean - -before_deploy: - -deploy: - -after_deploy: -