|
|
|
@ -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:
|
|
|
|
|
|
|
|
|
|