https://github.com/twitter/heron
Raw File
Tip revision: a78f8fcc71e275b7eda24768e523f7a05da0e3d8 authored by Neng Lu on 20 May 2016, 06:42:01 UTC
add serialVersionUID for TestWordTopology (#718)
Tip revision: a78f8fc
.travis.yml
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:

  # download and install libunwind
  - wget -q http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
  - tar xfz libunwind-1.1.tar.gz
  - cd libunwind-1.1 && ./configure --prefix=/usr && sudo make --silent install && cd ..

  # download and install bazel
  - wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.1.2/bazel-0.1.2-installer-linux-x86_64.sh'
  - chmod +x bazel-0.1.2-installer-linux-x86_64.sh
  - ./bazel-0.1.2-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
  - pip install --user requests==2.9.0
  - pip install --user LinkChecker
  - linkchecker --version

script:
  - which gcc-4.8
  - gcc --version
  - which g++-4.8
  - g++ --version
  # TODO: change below from ; to && once all links are fixed so we fail build on bad ones
  - (cd website && make site); scripts/travis/build.sh && scripts/travis/test.sh
back to top