language: rust

notifications:
  webhooks: http://build.servo.org:54856/travis

matrix:
  include:
    - rust: 1.21.0
    - rust: stable
    - rust: beta
    - rust: nightly
    - rust: nightly
      env: FEATURES="--features unstable"

script:
  - cargo build $FEATURES
  - cargo test --verbose $FEATURES

language: rust

notifications:
  webhooks: http://build.servo.org:54856/travis

rust:
  - 1.21.0
  - stable
  - beta
  - nightly

env:
  - FEATURES=""
  - FEATURES="--features serde"

matrix:
  include:
    - rust: nightly
      env: FEATURES="--features unstable"
    - rust: nightly
      env: FEATURES="--features unstable,serde"

script:
  - cargo build $FEATURES
  - cargo test --verbose $FEATURES

Add Travis-CI jobs for serde feature
Add Travis-CI jobs for serde feature
