Skip to content

Commit

Permalink
deployment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lavifb committed Dec 9, 2018
1 parent dd939a3 commit 51c699d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,9 @@ matrix:
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
- os: linux
rust: stable
env:
- TARGET=x86_64-unknown-linux-musl
- CC_x86_64_unknown_linux_musl=/usr/bin/musl-gcc
- os: linux
rust: stable
env: TARGET=i686-unknown-linux-gnu
- os: osx
rust: stable
env: TARGET=x86_64-apple-darwin
- os: linux
rust: stable
env:
- TARGET=arm-unknown-linux-gnueabihf
- CC_arm_unknown_linux_gnueabihf=/usr/bin/arm-linux-gnueabihf-gcc-4.8
- CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.8
- os: linux
rust: stable
env:
- TARGET=aarch64-unknown-linux-gnu
- CC_aarch64-unknown-linux-gnu=/usr/bin/aarch64-linux-gnu-gcc-4.8
- CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc-4.8
- os: windows
rust: stable
env: TARGET=x86_64-pc-windows-gnu
Expand Down
4 changes: 2 additions & 2 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ main() {

test -f Cargo.lock || cargo generate-lockfile

cargo build --target "$TARGET" --release --verbose
cargo build --target "$TARGET" --release --verbose --locked

# TODO Update this to package the right artifacts
cp "target/$TARGET/release/$PROJECT_NAME" $stage/

cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
tar czf $src/$PROJECT_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
cd $src

rm -rf $stage
Expand Down

0 comments on commit 51c699d

Please sign in to comment.