forked from AgileVentures/sing_for_needs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 729 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 729 Bytes
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
sudo: required
dist: trusty
language: elixir
otp_release:
- 20.3
elixir:
- 1.6.4
addons:
chrome: stable
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
- curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip
- sudo chmod +x chromedriver
- sudo mv chromedriver /usr/local/bin
- nohup chromedriver &
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
before_install:
- npm install npm@latest -g
script:
- mix test
- cd assets && npm install