aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml64
1 files changed, 0 insertions, 64 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index af71a9cce..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,64 +0,0 @@
1cache: cargo
2before_cache:
3 - find ./target/debug -maxdepth 1 -type f -delete
4 - rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*heavy_test*,*gen_lsp*,*thread_worker*}
5 - rm -f ./target/.rustc_info.json
6
7matrix:
8 include:
9 - name: "Rust Tests"
10 os: linux
11 dist: xenial
12 language: rust
13 rust: stable
14 script:
15 - rustup component add rustfmt
16 - rustup component add rust-src
17 - cargo test --no-run # let's measure compile time separately
18 - cargo test
19 env:
20 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
21
22 - name: "Rust Docs"
23 os: linux
24 if: branch = master AND type = push
25 before_script:
26 - DEPLOY_DOCS=1
27 language: rust
28 rust: stable
29 script:
30 - cargo doc --all --no-deps
31 env:
32 - RUSTFLAGS="-D warnings", CARGO_INCREMENTAL=0
33
34 - name: "VS Code Tests"
35 os: linux
36 language: node_js
37 dist: xenial
38 node_js: node
39 services:
40 - xvfb
41 before_install: cd editors/code
42 install:
43 - npm ci
44 - npm run vscode:prepublish
45 script:
46 - npm run travis
47 env:
48 - CXX="g++-4.9", CC="gcc-4.9"
49
50branches:
51 only:
52 - staging
53 - master
54 - trying
55
56deploy:
57 provider: pages
58 skip-cleanup: true
59 github-token: $DOCS_TOKEN # Set in the settings page of your repository, as a secure variable
60 keep-history: false
61 local-dir: target/doc
62 on:
63 branch: master
64 condition: $DEPLOY_DOCS = 1