summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: d9e2fa50af5dff3fc1c492b8ec72863916573f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: c

matrix:
  include:
    - os: linux
      sudo: false
      dist: trusty
    - os: osx

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gperf
      - gcc-6
      - g++-6

env:
    MRUBY_CONFIG=travis_config.rb
before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install gcc@6 || breq link --overwrite gcc@6 ; fi
  - export CC=gcc-6
  - export CXX=g++-6
  - export LD=gcc-6
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LDFLAGS="-fuse-ld=gold" ; fi    
script: "./minirake all test"