Skip to content

Commit 32b4914

Browse files
committed
Revert travis to use rules for translated progit
1 parent 8337b3d commit 32b4914

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.travis.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
language: ruby
2+
sudo: false
23
git:
34
depth: false
45
cache: bundler
56
before_install:
6-
- bundle install
7-
after_success:
8-
- script/tag_on_master
7+
- wget https://raw.githubusercontent.com/progit/progit2-pub/master/bootstrap.sh
8+
- sh bootstrap.sh
99
script: bundle exec rake book:build
10-
env:
11-
secure: "O+YCTDgLfCYAJjjOv2sApDRV5NJe6pkhiYIkORFuf2flO8HE72fEtDRpSWh1vulnIH6AjRK2jH7C8qA3MVbUO8D0io+Ha+vnbMXIp1JPCptcJNEkJrW13VTR66SWOzsgLp3mCrIC+YdE2JoYWGcnDsRMQwdnrWnxBzSOd22ZKzU="
12-
13-
before_deploy: bundle install && bundle exec rake book:build
10+
after_success: bundle exec rake book:tag
1411
deploy:
1512
provider: releases
13+
file_glob: true
1614
file:
17-
- progit.epub
18-
- progit.mobi
19-
- progit.pdf
15+
- progit*.epub
16+
- progit*.mobi
17+
- progit*.pdf
2018
skip_cleanup: true
2119
on:
2220
tags: true
23-
api-key:
24-
secure: "l3XdupX6dT48IoTieJXrd7Yx8+KhiR2QYrNrDzT6RKxA7UyXGSP/axsVerg7OjKfIHWZgDJRVzcc2RswE+Xjw9sOY8r2h2q9uCwj8G0EqtFbtgGK0La5LB0euh0tNJN8GLFj1OdSZGY7dWWK88GXeHCua2WSify0V79R4ClIM+s="
21+
api-key: $GITHUB_API_TOKEN
2522
branches:
2623
only:
2724
- master
2825
- /^2\.1(\.\d+)+$/
2926

27+
addons:
28+
apt:
29+
packages:
30+
- epubcheck
3031
notifications:
3132
email:
3233
on_success: never

0 commit comments

Comments
 (0)