summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-09 12:48:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-09 12:48:33 +0000
commit1050c08dc6bdbb0464997435bd655674c7f7cd74 (patch)
tree97e62ccf39a8cbb266e9cabedc07d411c9c2b728 /.travis.yml
parentc3c73ba2bd9927ad123a91c9bd80ca6c5b83739d (diff)
Add latest version gcc-8 case to Travis CI
[Fix GH-1937] Co-authored-by: Jun Aruga <jaruga@redhat.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 14 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 82b67e75d1..6b828c5dec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,11 +21,20 @@ dist: trusty
sudo: false
-compiler:
- - gcc
-
-os:
- - linux
+matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ - os: linux
+ compiler: gcc-8
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-8
+ env:
+ - CC=gcc-8 AR=gcc-ar-8 NM=gcc-nm-8 RANLIB=gcc-ranlib-8
before_install:
- "CONFIG_FLAG="