From 0ddd0648190f2d0497a7f3a9e89b26d04186feaf Mon Sep 17 00:00:00 2001 From: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> Date: Thu, 3 Dec 2020 22:19:09 +0100 Subject: delete travis ci (#418) Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Co-authored-by: Dan Davison --- etc/ci/before_install.sh | 38 -------------------------------------- etc/ci/script.sh | 19 ------------------- 2 files changed, 57 deletions(-) delete mode 100755 etc/ci/before_install.sh delete mode 100755 etc/ci/script.sh (limited to 'etc') diff --git a/etc/ci/before_install.sh b/etc/ci/before_install.sh deleted file mode 100755 index d26cf1ae..00000000 --- a/etc/ci/before_install.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -if [ "$TRAVIS_OS_NAME" != linux ]; then - exit 0 -fi - -sudo apt-get update - -# needed for musl targets -sudo apt-get install -y musl-tools - -# needed to build deb packages -sudo apt-get install -y fakeroot - -# needed for i686 linux gnu target -if [[ $TARGET == i686-unknown-linux-gnu ]]; then - sudo apt-get install -y gcc-multilib -fi - -# needed for cross-compiling for arm -if [[ $TARGET == arm-unknown-linux-gnueabihf ]]; then - sudo apt-get install -y \ - gcc-4.8-arm-linux-gnueabihf \ - binutils-arm-linux-gnueabihf \ - libc6-armhf-cross \ - libc6-dev-armhf-cross -fi - -# needed for cross-compiling for arm64 -if [[ $TARGET == aarch64-unknown-linux-gnu ]]; then - sudo apt-get install -y \ - gcc-4.8-aarch64-linux-gnu \ - binutils-aarch64-linux-gnu \ - libc6-arm64-cross \ - libc6-dev-arm64-cross -fi diff --git a/etc/ci/script.sh b/etc/ci/script.sh deleted file mode 100755 index b71212ab..00000000 --- a/etc/ci/script.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -# verify code is well formatted -cargo fmt --all -- --check - -# Incorporate TARGET env var to the build and test process -cargo build --target "$TARGET" --verbose - -# We cannot run arm executables on linux -if [[ $TARGET != arm-unknown-linux-gnueabihf ]] && [[ $TARGET != aarch64-unknown-linux-gnu ]]; then - cargo test --target "$TARGET" --verbose - cargo build --release - ./tests/test_raw_output_matches_git_on_full_repo_history - ./tests/test_deprecated_options > /dev/null - - cargo run --target "$TARGET" -- < /dev/null -fi -- cgit v1.2.3