chore(ci): fix firefox tests on Travis (#4828)
I forgot Firefox requires explicit installation.
This commit is contained in:
parent
85bd4a874f
commit
5d2378f15b
@ -15,10 +15,10 @@ before_install:
|
||||
- "sysctl kernel.unprivileged_userns_clone=1"
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- 'if [ "$NODE8" = "true" ]; then cd experimental/puppeteer-firefox && npm i && cd ../..; fi'
|
||||
script:
|
||||
- 'if [ "$NODE8" = "true" ]; then npm run lint; fi'
|
||||
- 'if [ "$NODE8" = "true" ]; then npm run coverage; fi'
|
||||
- 'if [ "$FIREFOX" = "true" ]; then cd experimental/puppeteer-firefox && npm i && cd ../..; fi'
|
||||
- 'if [ "$FIREFOX" = "true" ]; then npm run funit; fi'
|
||||
- 'if [ "$NODE8" = "true" ]; then npm run test-doclint; fi'
|
||||
- 'if [ "$NODE8" = "true" ]; then npm run test-types; fi'
|
||||
|
Loading…
Reference in New Issue
Block a user