Skip to content

Commit 32e592e

Browse files
committed
add travis CI
Signed-off-by: BY <qiubaiying@gmail.com>
1 parent 4c0884e commit 32e592e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
language: ruby
3+
4+
install:
5+
# Install binary pandoc from Rstudio
6+
# To use Pandoc, uncomment the following
7+
# - export PATH=/Users/baiying/pandoc:/Users/baiying/.rvm/gems/ruby-2.4.0/bin:/Users/baiying/.rvm/gems/ruby-2.4.0@global/bin:/Users/baiying/.rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/baiying/.rvm/bin:/Users/baiying/.rvm/bin
8+
# - mkdir /Users/baiying/pandoc
9+
# - curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
10+
# - unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc
11+
# -d /Users/baiying/pandoc
12+
# - chmod +x /Users/baiying/pandoc/pandoc
13+
# - pandoc --version
14+
15+
# Install Jekyll and dependencies
16+
- bundle install
17+
18+
script: bundle exec rake site:deploy --quiet
19+
20+
env:
21+
global:
22+
secure: EXAMPLE
23+
24+
# Generate your secure token with the travis gem:
25+
# get Github token from your Travis CI profile page
26+
# gem install travis
27+
# travis encrypt 'GIT_NAME=YOUR_USERNAME GIT_EMAIL=YOUR_EMAIL GH_TOKEN=YOUR_TOKEN'

0 commit comments

Comments
 (0)