summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Ieni <11428655+MarcoIeni@users.noreply.github.com>2020-12-03 22:19:09 +0100
committerGitHub <noreply@github.com>2020-12-03 16:19:09 -0500
commit0ddd0648190f2d0497a7f3a9e89b26d04186feaf (patch)
tree1b225a159db46a612bc7e9ba8f5ebc8a3f832075
parent15d06cbf7584570ec3b5beaba99cb8898f9ec3dc (diff)
delete travis ci (#418)
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Co-authored-by: Dan Davison <dandavison7@gmail.com>
l---------.travis.yml1
-rwxr-xr-xetc/ci/before_install.sh38
-rwxr-xr-xetc/ci/script.sh19
3 files changed, 0 insertions, 58 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 120000
index 6b67713f..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1 +0,0 @@
-src/bat_utils/.travis.yml \ No newline at end of file
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