forked from shakacode/cypress-on-rails
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
29 lines (25 loc) · 880 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
language: ruby
rvm:
- 2.2
#addons:
# artifacts:
# s3_region: "ap-southeast-2"
# paths:
# - $(ls spec/integrations/*/*/cypress/{screenshots,videos}/* | tr "\n" ":")
# - $(ls spec/integrations/rails_3_2/cypress/{screenshots,videos}/* | tr "\n" ":")
cache:
directories:
- spec/integrations/rails_5_2/spec/node_modules
- spec/integrations/rails_5_2/vendor/bundle
- spec/integrations/rails_4_2/test/node_modules
- spec/integrations/rails_4_2/vendor/bundle
- spec/integrations/rails_3_2/node_modules
- spec/integrations/rails_3_2/vendor/bundle
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y build-essential patch ruby-dev zlib1g-dev liblzma-dev libxml2-dev
script:
- bundle exec rake
- ./spec/integrations/rails_3_2/test.sh
- ./spec/integrations/rails_4_2/test.sh
- ./spec/integrations/rails_5_2/test.sh