File tree 1 file changed +5
-6
lines changed 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,19 @@ dist: trusty
4
4
5
5
cache :
6
6
cargo : true
7
- directories :
8
- - $HOME/.yarn-cache
7
+ yarn : true
9
8
10
9
addons :
11
10
chrome : stable
12
11
13
12
before_install :
14
13
- nvm install 6.10.0
15
- - npm config set spin false
16
- - npm install -g yarn
14
+ - curl -o- -L https://yarnpkg.com/install.sh | bash
15
+ - export PATH=$HOME/. yarn/bin:$PATH
17
16
18
17
install :
19
18
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
20
- - yarn
19
+ - yarn install
21
20
- cargo install --force diesel_cli --debug --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
22
21
- cargo install --force rustfmt
23
22
- rustfmt --version
@@ -49,7 +48,7 @@ matrix:
49
48
script :
50
49
- cargo build
51
50
- cargo test
52
- - yarn run test
51
+ - yarn test
53
52
- rust : nightly-2017-03-04
54
53
env : CLIPPY=YESPLEASE
55
54
script :
You can’t perform that action at this time.
0 commit comments