Browse Source

Fix CI configuration

develop
Yota Toyama 6 years ago
parent
commit
5cdde4f793
  1. 7
      .circleci/config.yml

7
.circleci/config.yml

@ -18,17 +18,16 @@ jobs:
- checkout - checkout
- run: | - run: |
apt -y update --fix-missing apt -y update --fix-missing
apt -y install bundler rake apt -y install bundler
- run: tools/dependencies.sh - run: tools/dependencies.sh
- run: tools/lint.sh - run: tools/lint.sh
- run: tools/build.sh - run: tools/build.sh
- run: tools/unit_test.sh - run: tools/unit_test.sh
- run: tools/integration_test.sh - run: tools/integration_test.sh
- run: ./liche --version > version
- persist_to_workspace: - persist_to_workspace:
root: . root: .
paths: paths:
- version - liche
docker: docker:
docker: docker:
- image: docker:17 - image: docker:17
@ -39,7 +38,7 @@ jobs:
at: . at: .
- run: | - run: |
name=$DOCKER_USER/liche name=$DOCKER_USER/liche
version=$(cat version) version=$(./liche --version)
if [ $CIRCLE_BRANCH = master -a $version != $(docker run $name --version) ] if [ $CIRCLE_BRANCH = master -a $version != $(docker run $name --version) ]
then then

Loading…
Cancel
Save