Commit Graph

17 Commits

Author SHA1 Message Date
Nick Cameron
c977c2ce00 Fixup failing integration tests 2018-05-15 20:38:04 +12:00
gnzlbg
c79f39af16 Add integration tests against crates in the rust-lang-nursery
This commit adds integration tests against some crates in the
nursery.

Each integration test is added as a separate build-bot, where
the rust-lang-nursery/${CRATE} is first downloaded and its tests run.
Afterwards, `cargo fmt --all` is applied to the crate, and the tests
are re-run. If the tests fail after formatting, the integration test
fails.

The crates that currently fail are added as allowed-to-fail, but the
intent is that either these crates or rustfmt should be fixed such
that the tests pass.
2018-05-10 00:31:55 +02:00
Alex Crichton
47742807f7 Ensure tests pass on the beta compiler
Also add a travis matrix entry for emulating the beta tests
2018-05-08 18:05:08 -07:00
David Alber
b4caa875f2 Fixing Travis config for Python 3 installation 2018-03-02 09:22:59 -08:00
Christopher Durham
ba4832a14a
Remove excess trailing && 2017-12-06 17:47:48 -05:00
Christopher Durham
0a6ce8f187
Chain commands by &&
See https://github.com/rust-lang-nursery/rustfmt/pull/2229/files#r155177741 for reasoning
2017-12-06 04:12:34 -05:00
Christopher Durham
0145ba7082
Only export path for linux
as per [@davidalber's advice](https://github.com/rust-lang-nursery/rustfmt/pull/2229#discussion_r155129274)
2017-12-05 21:42:00 -05:00
Christopher Durham
4d84b1630b Fix macOS build
- Ensure python is available https://github.com/travis-ci/travis-ci/issues/2312
- Only pip install --user on linux, macOS is in virtualenv
- Set PATH in a os-agnostic manner https://github.com/huonw/travis-cargo/pull/71
2017-12-04 01:24:38 -05:00
topecongiro
866c2885f7 Run travis and appveyor only against nightly 2017-06-14 21:07:49 +09:00
Johann
ab2f47eb71 Try fixing OSX builds
... that I broke by introducing travis-cargo.
2015-11-12 23:47:24 +01:00
Johann
87110e7d71 Report test coverage with travis-cargo & coveralls
As this project grows, it might be beneficial to require pull requests
to keep a certain level of test coverage. Plus it's a fun statistic.
2015-11-12 22:57:25 +01:00
Alex Gaynor
77200c5692 Cache downloaded packages on travis 2015-11-11 12:41:12 -05:00
Nick Cameron
7d4bdc646d Merge pull request #478 from KeenS/travis
Create a binary from travis ci and so on
2015-11-11 11:24:12 +13:00
Alex Crichton
9006a8b87d Test on stable/beta branches on Travis as well 2015-10-23 13:46:14 -07:00
Sunrim KIM (keen)
f9edf14d1e enhance .travis.yml. build on OS X too and define deploy process; you can just create a tag to release a binary. 2015-10-17 17:40:40 +09:00
Nick Cameron
910ca80710 Make travis use Rust nightly 2015-05-22 15:50:58 +12:00
Manish Goregaokar
c53dc54939 travisify 2015-04-30 13:46:18 +05:30