.travis.yml in mutils-1.0.0 vs .travis.yml in mutils-1.0.1
- old
+ new
@@ -10,9 +10,20 @@
language: ruby
cache: bundler
before_install:
- gem install bundler -v 2.0.1
- gem install rspec
-script: bundle exec rspec
+ - nvm use 11
+ - npm install
+script: bundle exec rubocop lib && bundle exec rspec
branches:
only: master
-bundler_args: --with=development,test --jobs=3 --retry=3
+bundler_args: --with=development,test --jobs=3 --retry=3
+jobs:
+ include:
+ - stage: release
+ rvm: 2.6.5
+ script: npx semantic-release
+stages:
+ - test
+ - name: release
+ if: (NOT type IN (pull_request)) AND (branch = master)
\ No newline at end of file