Skip to content

Commit 7714e9c

Browse files
committed
Дададзены файл для аўтаматычнай зборкі
1 parent f66ee60 commit 7714e9c

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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_glob: true
14+
file:
15+
- progit*.epub
16+
- progit*.mobi
17+
- progit*.pdf
18+
- progit*.html
19+
skip_cleanup: true
20+
on:
21+
tags: true
22+
api-key: $GITHUB_API_TOKEN
23+
branches:
24+
only:
25+
- master
26+
- /^2\.1(\.\d+)+$/
27+
28+
addons:
29+
apt:
30+
packages:
31+
- epubcheck
32+
notifications:
33+
email:
34+
on_success: never
35+
on_failure: always

0 commit comments

Comments
 (0)