-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (43 loc) · 1003 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
46
47
48
49
50
51
52
branches:
only:
- master
dist: trusty
sudo: false
language: node_js
node_js:
- "8"
addons:
apt:
sources:
- sourceline: 'ppa:rael-gc/rvm'
packages:
- rvm
env:
global:
- PATH=$HOME/.local/bin:$PATH
- GH_REPO=https://${GH_TOKEN}@github.com/herotc/legion.herodamage.com.git
- GH_SOURCE_BRANCH=master
- GH_TARGET_BRANCH=gh-pages
- JEKYLL_ENV=production
# The number of file changes required to deploy, put the number of files generated on build + 1
- DEPLOY_THRESHOLD=4
before_install:
- npm install npm -g
- npm --version
- rvm reload
- rvm use 2.5.1 --default --install --binary --fuzzy
- gem update
- rvm --version
- ruby --version
- bundle --version
- gem --version
- bundle install
before_script:
- chmod +x ./script/ci/generate
- chmod +x ./script/ci/build
- chmod +x ./script/ci/deploy
- ./script/ci/generate
script:
- travis_wait ./script/ci/build
- travis_wait ./script/ci/deploy
exclude: [vendor]