.circleci/config.yml in jace-0.0.2 vs .circleci/config.yml in jace-0.0.3
- old
+ new
@@ -1,8 +1,13 @@
version: 2
+workflows:
+ version: 2
+ test:
+ jobs:
+ - build-and-release
jobs:
- build:
+ test:
docker:
- image: darthjee/circleci_ruby_gems:0.5.2
environment:
PROJECT: jace
steps:
@@ -32,5 +37,24 @@
name: Rubycritcs check
command: rubycritic.sh
- run:
name: Check unit tests
command: check_specs
+ build-and-release:
+ docker:
+ - image: darthjee/circleci_ruby_gems:0.5.2
+ environment:
+ PROJECT: jace
+ steps:
+ - checkout
+ - run:
+ name: Signin
+ command: scripts/build.sh signin
+ - run:
+ name: Degub
+ command: cat ~/.gem/credentials
+ - run:
+ name: Build Gem
+ command: scripts/build.sh build
+ - run:
+ name: Push Gem
+ command: scripts/build.sh push