language: go
dist: xenial

sudo: required

services:
  - docker

before_script:
  - export -f travis_nanoseconds
  - export -f travis_fold
  - export -f travis_time_start
  - export -f travis_time_finish

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install libcairo2-dev mercurial pkg-config wget -y

script:
  - make test
  - make
  - wget "https://raw.githubusercontent.com/go-graphite/helper-scripts/main/travis-docker-build.sh" && chmod +x ./travis-docker-build.sh
  - ./travis-docker-build.sh carbonapi

git:
  depth: 200

matrix:
  include:
    - go: "1.13.x"
    - go: "1.14.x"
      env:
        - BUILD_PACKAGES=true

language: go
dist: xenial

sudo: required

services:
  - docker

before_script:
  - export -f travis_nanoseconds
  - export -f travis_fold
  - export -f travis_time_start
  - export -f travis_time_finish

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install libcairo2-dev mercurial pkg-config wget -y

script:
  - make test
  - make
  - ./e2e_test.sh
  - wget "https://raw.githubusercontent.com/go-graphite/helper-scripts/main/travis-docker-build.sh" && chmod +x ./travis-docker-build.sh
  - ./travis-docker-build.sh carbonapi

git:
  depth: 200

matrix:
  include:
    - go: "1.13.x"
    - go: "1.14.x"
      env:
        - BUILD_PACKAGES=true

Enable e2e_tests by default by Travis
Enable e2e_tests by default by Travis
