-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
31 lines (31 loc) · 953 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
language: node_js
node_js:
- '10'
sudo: required
jdk: oraclejdk9
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.4.deb
- sudo dpkg -i --force-confnew elasticsearch-6.5.4.deb
- sudo service elasticsearch start
- npm install -g npm@5
- npm install -g greenkeeper-lockfile@1
- npm config set spin false
- yes | rvm install 2.6.6
install:
- npm install
# - gem uninstall bundler
# - gem install bundler -v 2.0.1
- bundle install --jobs=3 --retry=3 --deployment
before_script:
- phantomjs --webdriver=4444 &
- greenkeeper-lockfile-update
script:
- bash tasks/pre-commit
- bash tasks/tests
- bundle exec rake sitemap:generate config=test/config.yaml
- greenkeeper-lockfile-upload
notifications:
email: false
env:
global:
secure: B/PY1kIs+hWun4PuaCrDbpPODxB8OGH8+fLXHV34t3ABbfg73FYdGvW0iak8kLFI9HmHVRsJ7XAq5v5BZPn46FGLtmBlPFTXBMmeYO12aa/WM/rfEZ6+jNNzT/nuwbfk9A+TMPE3t4ulOjvhqDn065J4q836TyXoQj227iQQoFs=