forked from neoclide/coc.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (47 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: node_js
node_js:
- "10"
- "12"
cache: yarn
# Use macOS 10.12: https://docs.travis-ci.com/user/languages/objective-c/
matrix:
fast_finish: true
include:
- os: osx
osx_image: xcode9.1
env: TEST_SUITE=test-build
- os: linux
dist: trusty
env: TEST_SUITE=lint
- os: linux
dist: trusty
env: TEST_SUITE=test-build
before_install:
- curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
- |
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz
tar xzf nvim-macos.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-osx64/bin"
else
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
tar xzf nvim-linux64.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-linux64/bin"
fi
- echo $PATH
- nvim --version
install:
- yarn install
script:
- export NODE_ENV=test
- yarn global add codecov
- yarn global add typescript
- yarn run $TEST_SUITE
after_success:
- codecov
notifications:
email:
on_success: never
on_failure: never
on_cancel: never
on_error: never