.travis.yml in minke-1.12.4 vs .travis.yml in minke-1.12.5
- old
+ new
@@ -1,14 +1,33 @@
+sudo: required
+services:
+- docker
language: ruby
rvm:
- 2.3.1
env:
global:
- secure: "ND69gJ0h5JB0I7mogcjIwAr+3lc815M0L9i9xg7CKVdtMKyuLIT/QKoqAJ9ivnYCapnRrxweRco82VlrFz6hru5phhEiCHLLmdyYngZcjVOnTWVLanc9juQ+cz/65lqJl7MbwZxKbdurh4/2FzGoTCMdjIYzMDk+pT0hHHiZ+8p492mj0hdglGX1WfoQJvIsvR94jy+JEDsjzlB6odk+uhD2qlhK0/k2UDG8tlbEPp/zf2dvonhud3TmdvkiVTNKPS1kpB1BJCwkhNfg7ZRKkt0FMMR/g1GAfHlRE/FiUaVCyurUaUVnfAUvhuGZ28XhHotRCogP6YV6hkpWy7wyelool4c+CzSho4cdEwNFiNXME5wbpMUiZN5w9YTBBK11u2uPrhw2tUvJtjNQdvvKKdQw404hPcVaLsGaviK3G6qC1huo3kRQW51HgBF8J99+icCDgTyM+m+iJrQwCGU+darpv/ozpczoM9avE6EOF1Nu+35iRAdu5o4KR4k5EDf7AlXck1B0n5aAYj7t624cVKIF9vusOq7nmT63N8m37ZBWz09aAHasW0bm6ReB6+uOFM776Umh3/A6hr0zYrqiaQuk1zw2PNR5twvrqSLqEAwEK9ozROe3bWMdFlZhoCWNzaKNqMCt0O8B1k5xPClx3uhI63XeykxMWMDFLfvQNtw="
+ - secure: ND69gJ0h5JB0I7mogcjIwAr+3lc815M0L9i9xg7CKVdtMKyuLIT/QKoqAJ9ivnYCapnRrxweRco82VlrFz6hru5phhEiCHLLmdyYngZcjVOnTWVLanc9juQ+cz/65lqJl7MbwZxKbdurh4/2FzGoTCMdjIYzMDk+pT0hHHiZ+8p492mj0hdglGX1WfoQJvIsvR94jy+JEDsjzlB6odk+uhD2qlhK0/k2UDG8tlbEPp/zf2dvonhud3TmdvkiVTNKPS1kpB1BJCwkhNfg7ZRKkt0FMMR/g1GAfHlRE/FiUa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sCUUCCRr/zifRvW15koU03QQEx9blf3s6Qmqeludvh89/jjteMca7mLQsFFBSMuKTXVq38CgqnvK2pt1jhw4bT2aRrsa0RszutvacWSKljdUlH6RTB9JRVwbGuWapD6TXt7tmOpc0kqKLweFmYxySzITp8EhCbVdmSgexB3tZLlR4y4UqStqsmT1JHRz5yTgPtnxmXDdW5eHdqmxP0I0z5E5eX3qdKVt8NYAP4/hjVj2JyDGXIk7fuK8pYA4d3t7o1n263/b/41M=
+before_install:
+ - sudo apt-get update
+ - sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install docker-engine
install: bundle
script:
- rake test
- rake build
+after_success:
+- if [ "$TRAVIS_BRANCH" == "master" ]; then
+ cd docker;
+ docker build -t nicholasjackson/minke --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .;
+ docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
+ docker push nicholasjackson/minke:latest;
+ docker tag nicholasjackson/minke nicholasjackson/minke:1.12.5;
+ docker push nicholasjackson/minke:1.12.5;
+ curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
+ fi
deploy:
provider: rubygems
gem: minke
on:
repo: nicholasjackson/minke