# Travis CI integration
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c

# Use newer Travis "trusty" image to get newer bash 4.3.*
dist: trusty

# We don't need to install packages, use dockerized build, quicker
sudo: false

# Get and install the Bash Automated Testing System (bats)
before_script:
  - git clone https://github.com/sstephenson/bats.git /tmp/bats
  - mkdir -p /tmp/local
  - bash /tmp/bats/install.sh /tmp/local
  - export PATH=$PATH:/tmp/local/bin

# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
  - ./autogen.sh
  - ./configure
  - make
  - make test
  - PATH=$PATH:./src bats tests

# Travis CI integration
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c

# Use newer Travis "trusty" image to get newer bash 4.3.*
dist: trusty

# We don't need to install packages, use dockerized build, quicker
sudo: false

# Get and install the Bash Automated Testing System (bats)
before_script:
  - git clone https://github.com/sstephenson/bats.git /tmp/bats
  - mkdir -p /tmp/local
  - bash /tmp/bats/install.sh /tmp/local
  - export PATH=$PATH:/tmp/local/bin

# We don't store generated files (configure and Makefile) in GIT,
# so we must customize the default build script to run ./autogen.sh
script:
  - ./autogen.sh
  - ./configure
  - make
  - make test
  - bats tests

Revert "Set PATH to netcalc for BATS"
Revert "Set PATH to netcalc for BATS"

This reverts commit 277c7303323897973a643d464bef668177004af2.
