From 803c9ac192d8c63671ccbf2d40c0f50c907c5fa0 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 11 Sep 2015 14:04:28 +0200 Subject: [PATCH] Publish on crates.io --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02bb155..09b4d41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ after_success: git clone https://github.com/davisp/ghp-import && ./ghp-import/ghp-import target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages -# - | -# [ $TRAVIS_BRANCH = master ] && -# [ $TRAVIS_PULL_REQUEST = false ] && -# cargo publish --no-verify --token ${CRATESIO_TOKEN} + - | + [ $TRAVIS_BRANCH = master ] && + [ $TRAVIS_PULL_REQUEST = false ] && + cargo publish --no-verify --token ${CRATESIO_TOKEN}