language: rust
sudo: false
cache:
  directories:
    - $HOME/.cargo
rust:
  - stable
  - beta
  - nightly
os:
  - linux
  - osx
branches:
  only:
    - master
    - staging
    - trying
script:
  - cd palette_derive
  - cargo build -v --features strict

  - cd ../palette
  - cargo build -v --features strict
  - cargo test -v --features strict
  - bash ../scripts/test_features.sh

  - cd ..
  - cargo doc
after_success:
  - sh scripts/upload_doc.sh

language: rust
sudo: false
cache:
  directories:
    - $HOME/.cargo
rust:
  - stable
  - beta
  - nightly
os:
  - linux
  - osx
branches:
  only:
    - master
    - staging
    - trying
    - /^\d+\.\d+$/
script:
  - cd palette_derive
  - cargo build -v --features strict

  - cd ../palette
  - cargo build -v --features strict
  - cargo test -v --features strict
  - bash ../scripts/test_features.sh

  - cd ..
  - cargo doc
after_success:
  - sh scripts/upload_doc.sh

Enable CI checks for maintenance branches
Enable CI checks for maintenance branches
