Skip to content

Commit f3670b4

Browse files
committed
Configure Travis CI
1 parent c0b5bca commit f3670b4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
language: ruby
2+
sudo: false
3+
git:
4+
depth: false
5+
cache: bundler
6+
before_install:
7+
- wget https://raw.githubusercontent.com/progit/progit2-pub/master/bootstrap.sh
8+
- sh bootstrap.sh
9+
script: bundle exec rake book:build
10+
after_success: bundle exec rake book:tag
11+
deploy:
12+
provider: releases
13+
file:
14+
- progit.epub
15+
- progit.mobi
16+
- progit.pdf
17+
skip_cleanup: true
18+
on:
19+
tags: true
20+
api-key: $GITHUB_API_TOKEN
21+
branches:
22+
only:
23+
- master
24+
- /^2\.1(\.\d+)+$/
25+
26+
addons:
27+
apt:
28+
packages:
29+
- epubcheck
30+
notifications:
31+
email:
32+
on_success: never
33+
on_failure: always

0 commit comments

Comments
 (0)