-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 868 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
38
39
40
41
42
43
44
45
dist: trusty
sudo: required
cache:
apt: true
bundler: true
directories: node_modules
addons:
chrome: stable
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
matrix:
include:
- language: ruby
rvm: 2.4.1
before_script:
- cd bmi-calculator-back
- bundle install --jobs 3 --retry 3 --quiet
- sudo echo '127.0.0.1 db' | sudo tee -a /etc/hosts
- rails db:test:prepare
script:
- bundle exec rspec
- language: node_js
node_js: "6"
before_script:
- cd bmi-calculator-front
- npm install --quiet
script:
- ng test --watch false
- language: node_js
node_js: "6"
before_script:
- cd bmi-calculator-front
- npm install --quiet
script:
- ng e2e
notifications:
email: false