https://github.com/twitter/heron
Raw File
Tip revision: 9c0b3c7cdd8ab5f3235d79a7d9ad14a0f9649415 authored by Cong Wang on 10 April 2017, 18:29:50 UTC
Address review comments from Sanjeev
Tip revision: 9c0b3c7
.travis.yml
group: edge

sudo: required

language: java

jdk:
  - oraclejdk8

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8
      - python2.7
      - wget
      - pkg-config
      - zip
      - zlib1g-dev

env:
  - CC=gcc-4.8 CXX=g++-4.8 CPP=cpp-4.8 CXXCPP=cpp-4.8

before_install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  # download and install bazel
  - wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.3.1/bazel-0.3.1-installer-linux-x86_64.sh'
  - chmod +x bazel-0.3.1-installer-linux-x86_64.sh
  - ./bazel-0.3.1-installer-linux-x86_64.sh --user

before_script:
  # required for building the website docs
  - (cd website && npm install && npm install gulp && which gulp)
  - wget -q https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_amd64.deb
  - sudo dpkg -i hugo*.deb
  - hugo version

script:
  - which gcc-4.8
  - gcc --version
  - which g++-4.8
  - g++ --version
  - scripts/travis/ci.sh
back to top