-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
assets: | ||
rubygems.yml: yegor256/home#assets/rubygems.yml | ||
s3cfg: yegor256/home#assets/s3cfg | ||
install: | | ||
sudo apt-get update | ||
sudo gem install pdd -v 0.20.5 | ||
pdd -f /dev/null | ||
sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" | ||
release: | ||
script: |- | ||
sudo bundle install | ||
rake | ||
rm -rf *.gem | ||
bundle exec rake clean test rubocop copyright | ||
sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb | ||
git add lib/xembly/version.rb | ||
git commit -m "version set to ${tag}" | ||
gem build xembly.gemspec | ||
chmod 0600 ../rubygems.yml | ||
gem push *.gem --config-file ../rubygems.yml | ||
sudo gem install xembly | ||
pdd --source=$(pwd) --verbose --file=xembly-gem.xml -e=test/** -e=features/** -e=README.md | ||
s3cmd --no-progress put xembly-gem.xml --config=../s3cfg s3://pdd.teamed.io/xembly-gem.xml | ||
commanders: | ||
- yegor256 | ||
architect: | ||
- yegor256 | ||
- davvd | ||
merge: | ||
commanders: [] | ||
deploy: {} | ||
script: |- | ||
bundle exec rake clean test rubocop copyright | ||
deploy: | ||
script: |- | ||
echo "There is nothing to deploy" | ||
exit -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
language: ruby | ||
rvm: | ||
- 2.2.2 | ||
- 2.6.0 | ||
cache: bundler | ||
branches: | ||
only: | ||
- master | ||
install: | ||
- gem install pdd -v 0.20.5 | ||
- travis_retry bundle update | ||
script: | ||
- rake | ||
|
||
- pdd -f /dev/null | ||
- bundle exec rake | ||
after_success: | ||
- "bash <(curl -s https://codecov.io/bash)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters