Skip to content

Commit

Permalink
fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Oct 16, 2016
1 parent 1045c7d commit 582e022
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,19 @@ matrix:
rust: stable

install:
# curl: `std for cross-compilation
# docker: For transparent QEMU user emulation
- if [ -z $TRAVIS_TAG ] || [ $TRAVIS_RUST_VERSION = $DEPLOY_VERSION ]; then
# `std for cross-compilation
curl https://static.rust-lang.org/rustup.sh |
sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`;

# For transparent QEMU user emulation
test $TRAVIS_OS_NAME = osx ||
docker run --privileged --rm -it ubuntu:16.04 sh -c
"apt-get update && apt-get install -qq binfmt-support qemu-user-static";
fi

script:
# chmod: Travis can't cache files that are not readable by "others"
- if [ -z $TRAVIS_TAG ] || [ $TRAVIS_RUST_VERSION = $DEPLOY_VERSION ]; then
cargo generate-lockfile;

Expand All @@ -71,7 +72,6 @@ script:
sh ci/run.sh;
fi;

# Travis can't cache files that are not readable by "others"
chmod -R a+r $HOME/.cargo;
fi

Expand Down
8 changes: 7 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ environment:
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-gnu
- TARGET: x86_64-pc-windows-msvc
# Just to check these are skipped during deploys
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: stable
- TARGET: x86_64-pc-windows-msvc
RUST_VERSION: stable

install:
- ps: ci\install.ps1
Expand Down Expand Up @@ -46,7 +51,8 @@ deploy:
secure: bQ29dEXeNG5VP2hQcWiZ1xsfmkGosteCDNeYu/cXTX4lOeghOp0qANpQXmGfal29
provider: GitHub
on:
RUST_VERSION: %DEPLOY_VERSION%
# NOTE this "version" must match %DEPLOY_VERSION% (see top)
RUST_VERSION: nightly
appveyor_repo_tag: true

cache:
Expand Down

0 comments on commit 582e022

Please sign in to comment.