Skip to content

Commit

Permalink
chore(Travisci): Run rust stable in travis
Browse files Browse the repository at this point in the history
Building with rust stable now works. Begin testing on stable, beta, and nightly but only the newer tmux version.
  • Loading branch information
brianp committed Jan 2, 2020
1 parent ae53ca3 commit 33f707d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
29 changes: 28 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ language: rust
cache: cargo

git:
depth: 3
depth: 1

rust:
- stable
- beta
- nightly

script: cargo test --workspace
Expand All @@ -14,9 +16,34 @@ matrix:
- env: TMUX_VERSION=master
- env: TMUX_VERSION=2.9a
- env: TMUX_VERSION=2.8
- rust: beta
- rust: nightly
exclude:
- os: osx
env: TMUX_VERSION=2.9a
- os: osx
env: TMUX_VERSION=2.8
- os: osx
rust: nightly
- os: osx
rust: beta
- os: linux
rust: beta
env: TMUX_VERSION=master
- os: linux
rust: beta
env: TMUX_VERSION=2.9a
- os: linux
rust: beta
env: TMUX_VERSION=2.8
- os: linux
rust: nightly
env: TMUX_VERSION=master
- os: linux
rust: nightly
env: TMUX_VERSION=2.9a
- os: linux
rust: nightly
env: TMUX_VERSION=2.8

env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ make cargo cmd=test

### From source:

Have rust stable (or nightly at the risk of it not working) installed.
Have rust stable installed.
Clone this repo. Then run cargo to build the source, and again use cargo to run the app.

```shell
Expand Down

0 comments on commit 33f707d

Please # to comment.