From 8781f8b70b00cb80febbd0f20655b37898e826e9 Mon Sep 17 00:00:00 2001 From: tomaka Date: Sat, 28 Feb 2015 20:13:33 +0100 Subject: [PATCH] Fix travis build --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e042125..5b828cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,12 +17,11 @@ after_success: sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages - - cargo login ${CRATESIO_TOKEN} - | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && - cargo publish + cargo publish --token ${CRATESIO_TOKEN} - | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && - cd alsa-sys && cargo publish && cd .. + cargo publish --token ${CRATESIO_TOKEN} --manifest-path alsa-sys/Cargo.toml