Commit graph

59 commits

Author SHA1 Message Date
Aleksey Kladov
798dc2ca80 start GitHub pages 2019-09-02 14:42:23 +03:00
Aleksey Kladov
c75f5d1190 remove wrong config from .travis.yml
The right key here is target_branch, not branch.

However, this works anyway b/c gh-pages is the default.
2019-08-23 19:33:57 +03:00
Aleksey Kladov
025e1169da install npm deps once 2019-07-29 11:13:16 +03:00
Aleksey Kladov
459241f272 move syntax tests to unit tests 2019-07-24 12:49:19 +03:00
Aleksey Kladov
4d544fbf9b switch back to old cleaning strategy
Turns out, Cargo is pretty bad at cleaning after itself: I see .rmeta,
.rlib and .d files after clean :(
2019-07-24 12:35:51 +03:00
Aleksey Kladov
3ea530cf67 don't optimize on CI, it isn't faster 2019-07-22 18:19:57 +03:00
Aleksey Kladov
c8d762ddff speedup CI 2019-07-20 17:08:47 +03:00
Ryan Cumming
60ba253753 Run VS Code tests on CI
This is actually much faster than I expected; it takes about 13 seconds
to download VS Code and run the unit tests. This means the VS Code tests
are still significantly faster than the Rust ones.

If this ends up being unreliable we can always remove it later or move
it to a separate optional job.

We also need to ignore the `.vscode-test` directory when running
`prettier` or it will get upset about some temporary JSON files VS Code
creates.
2019-06-30 07:12:42 +10:00
Aleksey Kladov
0f6951249e don't remove tools from cache
On CI, we remove this project's artifacts from ./target before caching
it. This way, cache never changes, because it only caches deps.

We do this approximatelly, and, together with our own tools crate, we
also remove itertools, which are used by some other deps. Given that
tools change rarely, let's just cache them?
2019-05-30 10:17:29 +03:00
Laurențiu Nicola
48077d0653 Use Xenial image and fix find call 2019-05-23 16:05:01 +03:00
Aleksey Kladov
77fb6354c3 fix build 2019-03-25 10:48:24 +03:00
Aleksey Kladov
db9a3cbfb9 Remove windows from CI
We don't actually look at the CI results for windows anyway!

In general, rust-analyzer should be written in a completely
OS-independent way. That is, testing on one OS should be enough. If
this is not the case, that means something is seriously broken.

No doubt there are components which actually talk to the outside
world, and they may be platform dependent. We should extract such
components to a separate repo with an extensive multi platform CI,
like we did for VFS
2019-03-25 10:13:44 +03:00
robojumper
022d88cf4c Add docs build 2019-03-23 22:03:41 +01:00
Aleksey Kladov
7177fffd7b fix verification on CI
remove `--verify` flag from the binaries: we have tests for this!
2019-01-27 02:30:54 +03:00
Jeremy Kolb
5c258a8677 Update stable for travis 2019-01-24 08:27:33 -05:00
Aleksey Kladov
b028472481 ⬆️ update rust 2019-01-19 15:36:58 +03:00
Aleksey Kladov
6b7699d187 install rust-src component on CI 2019-01-11 00:51:48 +03:00
Aleksey Kladov
4196b65f21 dont depend on tools from lsp-server 2019-01-11 00:46:32 +03:00
Aleksey Kladov
4477b8e92f dont build PRs on windows 2019-01-03 19:15:05 +03:00
Aleksey Kladov
f2037d28f7 measure compile-time separately on travis 2019-01-03 19:10:45 +03:00
DJMcNab
9c8c9eee2a Disable incremental compilation again on CI 2018-12-30 20:48:35 +00:00
DJMcNab
e7863d979f Use a different format for env vars 2018-12-29 11:37:25 +00:00
DJMcNab
3fb02c85d1 Readd quotes to -D warnings 2018-12-29 11:11:51 +00:00
DJMcNab
ab36ef7733 Remove duplicated env var 2018-12-29 10:49:40 +00:00
DJMcNab
5dbab81481 Reformat .travis.yml (using the vscode prettier extension)
TODO: Check this on CI. Maybe we should change the prettier script
in `editors/code`, or move it to somewhere else
(`tests/format` maybe)
Editing the script in editors/code would be easiest as
that means we don't have to double install some shared `node_modules`
2018-12-29 10:31:20 +00:00
DJMcNab
f4364993f9 Change typo of few to many 2018-12-29 10:26:52 +00:00
DJMcNab
7b431be2f7 Deny warnings on CI (#329) 2018-12-29 10:25:53 +00:00
Aleksey Kladov
2956e81295 ⬆️ 1.31.1 2018-12-20 22:57:38 +03:00
Aleksey Kladov
c626e4a526 fix CI caches 2018-12-20 20:00:47 +03:00
Aleksey Kladov
3761afd17a dedupe testing & formatting toolchains 2018-12-06 20:35:41 +03:00
Aleksey Kladov
ce6c26a60e ⬆️ 1.31.0 🎉 2018-12-06 20:22:06 +03:00
Aleksey Kladov
ebc4e75253 switch back to the latest beta 2018-11-24 21:52:49 +03:00
Aleksey Kladov
5a61b218f8 Pin to older beta
https://github.com/rust-lang/rust/issues/56128
2018-11-21 14:47:19 +03:00
Aleksey Kladov
06c0015219 enable windows CI 2018-11-18 16:36:57 +03:00
bors[bot]
f1d8558cd5 Merge #215
215: Add Travis Windows build r=matklad a=phansch

This adds the Windows build to Travis.

I had to use the `dos2unix` utility on the parser directory to fix some incorrect
line endings. I'm not sure where they are coming from but I guess git is
converting them automatically when cloning on Windows.

Closes #139 

Co-authored-by: Philipp Hansch <dev@phansch.net>
2018-11-17 12:50:29 +00:00
Philipp Hansch
61a157db8c
Only build windows on master and allow failure
The Windows build is much slower than Linux, so we only build it on master
and make the build status not depend on it finishing up.
2018-11-07 16:59:43 +01:00
Philipp Hansch
be24e9fa34
Add Travis Windows build 2018-11-07 14:14:04 +01:00
Aleksey Kladov
9ed7edab08 remove the last changing file from cache 2018-11-06 23:52:11 +03:00
Aleksey Kladov
816f72dbd5 evitct more stuff from cache 2018-11-06 23:34:30 +03:00
Aleksey Kladov
28e3220b34 cleanup cahces more aggressively 2018-11-06 22:22:22 +03:00
Aleksey Kladov
f965cd0c15 Don't cache ever changing stuff 2018-10-20 23:33:45 +03:00
Aleksey Kladov
2f4a248f80 rename gen-kinds to gen-syntax 2018-10-16 21:17:19 +03:00
bors[bot]
575b863507 Merge #132
132: Cache caro on Travis r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2018-10-15 18:02:28 +00:00
Aleksey Kladov
2a76389d6b Cache caro on Travis 2018-10-15 21:01:33 +03:00
Aleksey Kladov
6605dbaff3 Switch to beta 2018-10-15 19:54:37 +03:00
Aleksey Kladov
f4e7617466 gate on tslint 2018-10-09 19:10:35 +03:00
Daniel McNab
3a405b65d6 Add tslint and prettier to ci 2018-10-08 22:36:47 +01:00
Aleksey Kladov
2007ccfcfe no time to explain, disable clippy checks 2018-08-29 11:16:28 +03:00
Aleksey Kladov
e482812423 allow nightly failures 2018-08-25 13:58:46 +03:00
Aleksey Kladov
d30a2e4fac Don\'t block on rustfmt 2018-07-30 15:07:41 +03:00