-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (35 loc) · 907 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
language: node_js
node_js:
- v0.12.7
sudo: false
cache:
bundler: true
directories:
- protractor/node_modules
before_install:
- rvm install 2.3.0
- rvm --default use 2.3.0
- gem update --remote bundler
install:
- bundle install --retry=3
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ruby -v
- cd protractor
- npm install
- cd testapp
- npm start & # must background the webserver
- cd ..; cd .. # return to project root
- sleep 5 # wait for servers to start
script:
- bundle exec thor gen # regenerate every time before testing
- bundle exec thor compare # ensure ported protractor tests stay up to date
# for benchmarking, run tests a few times.
- bundle exec thor parallel_rspec
after_script:
- bundle exec rake coveralls:push # publish coverage to coveralls.io
notifications:
email:
on_success: never
on_failure: never