language: rust
rust:
  - nightly
addons:
  apt:
    packages:
      - sqlite3
      - libsqlite3-dev
env:
  global:
    - DATABASE_BUSY_TIMEOUT=250
    - TEST_DATABASE_URL=/home/travis/lugh-test-database.sqlite
    - TEST_LUGH_BIND=localhost:3000
    - PATH="/home/travis/.cargo/bin:$PATH"
before_script:
  - cargo install diesel_cli
script:
  - make test

language: rust
cache: cargo
rust:
  - nightly
addons:
  apt:
    packages:
      - sqlite3
      - libsqlite3-dev
env:
  global:
    - DATABASE_BUSY_TIMEOUT=250
    - TEST_DATABASE_URL=/home/travis/lugh-test-database.sqlite
    - TEST_LUGH_BIND=localhost:3000
    - PATH="/home/travis/.cargo/bin:$PATH"
before_script:
  - cargo install diesel_cli --force
script:
  - make test

Enable Travis CI Cargo cache
Enable Travis CI Cargo cache
