travis...
This commit is contained in:
parent
26744f5c4e
commit
ffd14326f4
1 changed files with 12 additions and 28 deletions
40
.travis.yml
40
.travis.yml
|
@ -1,34 +1,18 @@
|
|||
# Ubuntu 14.04 Trusty support
|
||||
sudo: required
|
||||
language: cpp
|
||||
compiler: gcc
|
||||
dist: trusty
|
||||
|
||||
language: cpp
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
- sudo apt-get update -qq
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
# add PPAs with more up-to-date toolchains
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
# install toolchains
|
||||
- g++-4.8
|
||||
#- clang-3.6
|
||||
install:
|
||||
- sudo apt-get install -qq g++-6
|
||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
|
||||
|
||||
compiler:
|
||||
#- clang
|
||||
- gcc
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue