dist: bionic
language: python
services:
  - docker
branches:
  except:
    - gh-pages
matrix:
  fast_finish: true
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install fping
  - sudo apt-get install traceroute
  - sudo apt-get install librrd-dev
install:
  - touch ./Ctl/dev/.env
  - bash ./Ctl/dev/compose.sh build peeringdb
  - bash ./Ctl/dev/compose.sh up -d database
script:
  - bash ./Ctl/dev/run.sh run_tests
