image: silex/emacs:26.1-alpine-dev stages: - test - package - deploy test-oni-bookmark: stage: test script: make test-oni-bookmark DEPS="oni-data-dir" test-oni-alert: stage: test script: make test-oni-alert test-oni-grep: stage: test script: make test-oni-grep test-oni-highlight-indent-guides: stage: test script: make test-oni-highlight-indent-guides test-oni-php: stage: test script: make test-oni-php DEPS="oni-flycheck oni-company oni-fci" package: stage: package before_script: - rm -rf bin/ - mkdir bin/ script: make package artifacts: paths: - bin/ deploy: stage: deploy dependencies: - package before_script: - chmod 600 "$DEPLOY_KEY" - apk update && apk add rsync script: - rsync -e "ssh -o \"UserKnownHostsFile $KNOWN_HOSTS\" -p 4511 -i $DEPLOY_KEY" -v -c -r --delete bin/ "elpa@ryuslash.org:"