sudo: required
language: rust
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
      - libgtk-3-dev
      - libsoup2.4-dev
      #- libwebkit2gtk-4.0-dev

env:
  - RUST_BACKTRACE=1

rust:
  - nightly
  #- beta
  #- stable

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  - cargo build
  - cargo test --no-run -v
  #- cd examples/http
  #- cargo build
  #- cd ../webkit-test
  #- cargo build
  #- cd ../buttons-derive
  #- cargo build

matrix:
  allow_failures:
    - rust: stable
    - rust: beta

sudo: required
dist: trusty
language: rust
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
      - libgtk-3-dev
      - libsoup2.4-dev
      #- libwebkit2gtk-4.0-dev

env:
  - RUST_BACKTRACE=1

rust:
  - nightly
  #- beta
  #- stable

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  - cargo build
  - cargo test --no-run -v
  #- cd examples/http
  #- cargo build
  #- cd ../webkit-test
  #- cargo build
  #- cd ../buttons-derive
  #- cargo build

matrix:
  allow_failures:
    - rust: stable
    - rust: beta

Switch to newer Ubuntu on Travis
Switch to newer Ubuntu on Travis
