forked from andreasknoepfle/treasures.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (36 loc) · 840 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
31
32
33
34
35
36
37
language: ruby
rvm:
- 2.3.1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- g++-4.9
before_install:
- nvm install
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev g++-4.9
- yarn
env:
- CXX=g++-4.9
install:
- bundle install
script:
- rspec
- yarn lint
- yarn coverage
- yarn report-coverage
cache:
bundler: true
after_success:
- bash ./script/deploy
addons:
ssh_known_hosts: smallbutton.com