mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
It turned out that the tip-of-tree chromium fails to start on Travis
because of two reasons:
- inability to run LinuxSUIDSandbox
- libnss3 library version being too small
Both problems happen because of the outdated "trusty" distribution
which is used on travis.
This patch:
- reverts the previous patch 9e6f779
. Instead of introducing such
a weird "api", both phantom_shim/runner.js and test/test.js no
explicitly pass '--no-sandbox' flag to the browser
- updates the libnss3 lib on travis
Fixes #33
17 lines
251 B
YAML
17 lines
251 B
YAML
language: node_js
|
|
node_js:
|
|
- "7"
|
|
dist: trusty
|
|
env:
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
install:
|
|
- yarn install
|
|
# puppeteer's install script downloads Chrome
|
|
script:
|
|
- yarn run lint
|
|
- yarn run unit
|
|
- yarn run test-phantom
|