Skip to content

Commit a841684

Browse files
authored
chore(ci): improve Travis performance (#100)
1 parent 81f3441 commit a841684

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ before_install:
1717
- npm i -g yarn
1818

1919
install:
20-
- yarn
21-
- cd example && yarn && cd ..
20+
- yarn install --frozen-lockfile
21+
- cd example && yarn install --frozen-lockfile && cd ..
2222
- yarn cypress install
2323

2424
before_script:
25-
- export DISPLAY=:99.0
26-
- sh -e /etc/init.d/xvfb start
2725
- cd example
2826
- yarn docs
2927
- yarn docs:docstrap
@@ -34,4 +32,4 @@ before_script:
3432
script:
3533
- yarn lint
3634
- yarn test -i && yarn codecov
37-
- yarn cypress run --browser chrome --config watchForFileChanges=false
35+
- yarn cypress run --config watchForFileChanges=false,video=false

0 commit comments

Comments
 (0)