language: rust
sudo: required
dist: trusty
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

# run builds for both all the trains
rust:
  - stable
  - beta
  - nightly

before_script:
  - |
      pip install git+https://github.com/huonw/travis-cargo --user &&
      git clone https://github.com/sstephenson/bats/ &&
      export WORKSPACE=$HOME/workspace &&
      mkdir $WORKSPACE &&
      cp -ar $TRAVIS_BUILD_DIR/tests/integration/fixtures/* $WORKSPACE &&
      export PATH=$HOME/.local/bin:$(pwd)/bats/bin:$TRAVIS_BUILD_DIR/target/debug:$PATH &&
      git config --global user.name semantic-rs &&
      git config --global user.email semantic@rs

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      pushd tests/integration && bats integration.bats && popd &&
      travis-cargo --only stable doc
after_success:
  - travis-cargo coveralls --no-sudo

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

notifications:
  email: false

language: rust
sudo: required
dist: trusty
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev

# run builds for both all the trains
rust:
  - stable
  - beta
  - nightly

before_script:
  - |
      pip install git+https://github.com/huonw/travis-cargo --user &&
      git clone https://github.com/sstephenson/bats/ &&
      export WORKSPACE=$HOME/workspace &&
      mkdir $WORKSPACE &&
      cp -ar $TRAVIS_BUILD_DIR/tests/integration/fixtures/* $WORKSPACE &&
      export PATH=$HOME/.local/bin:$(pwd)/bats/bin:$TRAVIS_BUILD_DIR/target/debug:$PATH &&
      git config --global user.name semantic-rs &&
      git config --global user.email semantic@rs

script:
  - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo --only stable doc
after_success:
  - travis-cargo coveralls --no-sudo

env:
  global:
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

notifications:
  email: false

Disable integration tests for the moment
chore(CI): Disable integration tests for the moment
