language: rust
rust:
    - stable
    - beta
    - nightly
dist: trusty
sudo: false
addons:
    apt:
        packages:
            - python3-pip
install:
    - pip3 install --user --upgrade mypy flake8
script: ./test-all.sh
cache:
    cargo: true
    directories:
        - $HOME/.cache/pip

language: rust
rust:
    - stable
    - beta
dist: trusty
sudo: false
addons:
    apt:
        packages:
            - python3-pip
install:
    - pip3 install --user --upgrade mypy flake8
script: ./test-all.sh
cache:
    cargo: true
    directories:
        - $HOME/.cache/pip

Stop testing on nightly rust
Stop testing on nightly rust

The nightly compiler isn't able to compile rustfmt in 10 minutes. This causes Travis CI to terminate the build.

We keep testing on beta and stable.