language: c

# unfortunately gtkgl is not allowed yet as an APT addon
sudo: required
dist: trusty

compiler:
  - clang
  - gcc

before_install:
  - sudo apt-get install -y libgtkgl2.0-dev

install:
  - ./autogen.sh
  - ./configure --prefix=/tmp/fsv
  - make
  - make install

script:
  - make check
# TODO: we should run some tests here

addons:
  apt:
    packages:
      - libgtk2.0-dev
      - libgl1-mesa-dev
      - libglu1-mesa-dev

language: c
sudo: false

compiler:
  - clang
  - gcc

install:
  - ./autogen.sh
  - ./configure --prefix=/tmp/fsv
  - make
  - make install

script:
  - make check
# TODO: we should run some tests here

addons:
  apt:
    packages:
      - libgtk2.0-dev
      - libgl1-mesa-dev
      - libglu1-mesa-dev
      - libgtkgl2.0-dev

Use container-based environment on Travis
Use container-based environment on Travis

Now that https://github.com/travis-ci/apt-package-whitelist/pull/2668 is merged, we can specify `sudo: false`.
