-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
30 lines (30 loc) · 932 Bytes
/
.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
language: node_js
env:
- CHROMEDRIVER_BIN=/tmp/chromedriver
matrix:
include:
- node_js: "8"
dist: trusty
sudo: false
cache:
directories:
- node_modules
- chrome
before_script:
- curl https://chromedriver.storage.googleapis.com/2.42/chromedriver_linux64.zip > /tmp/chromedriver_linux64.zip
- unzip -d /tmp /tmp/chromedriver_linux64.zip
- /tmp/chromedriver --version
- google-chrome-beta --version
- sudo rm /usr/bin/google-chrome
- sudo ln -s /usr/bin/google-chrome-beta /usr/bin/google-chrome
- google-chrome --version
- npm list
- wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -O /tmp/ffmpeg-release-64bit-static.tar.xz
- tar -xJf /tmp/ffmpeg-release-64bit-static.tar.xz -C /tmp
- /tmp/ffmpeg-4.0.2-64bit-static/ffmpeg -version
- sudo mv /tmp/ffmpeg-4.0.2-64bit-static/ffmpeg /usr/bin/ffmpeg
addons:
chrome: beta
apt:
packages:
- xz-utils