summaryrefslogtreecommitdiffstats
path: root/testing/source/vtown/deps/cryfs/.travisci
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/deps/cryfs/.travisci')
-rwxr-xr-xtesting/source/vtown/deps/cryfs/.travisci/build_and_test.sh50
-rwxr-xr-xtesting/source/vtown/deps/cryfs/.travisci/install.sh20
2 files changed, 0 insertions, 70 deletions
diff --git a/testing/source/vtown/deps/cryfs/.travisci/build_and_test.sh b/testing/source/vtown/deps/cryfs/.travisci/build_and_test.sh
deleted file mode 100755
index deb90903b..000000000
--- a/testing/source/vtown/deps/cryfs/.travisci/build_and_test.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-set -ev
-
-# If using gcc on mac, actually use it ("gcc" just links to clang, but "gcc-4.8" is gcc, https://github.com/travis-ci/travis-ci/issues/2423)
-# Note: This must be here and not in install.sh, because environment variables can't be passed between scripts.
-if [ "${CXX}" == "g++" ]; then
- echo Switch to actual g++ and not just the AppleClang symlink
- export CXX="g++-7" CC="gcc-7"
-else
- echo Do not switch to actual g++ because we are not g++
-fi
-
-# Setup ccache
-export PATH="/usr/local/opt/ccache/libexec:$PATH"
-export CCACHE_COMPILERCHECK=content
-export CCACHE_COMPRESS=1
-export CCACHE_SLOPPINESS=include_file_mtime
-ccache --max-size=512M
-ccache --show-stats
-
-# Detect number of CPU cores
-export NUMCORES=`sysctl -n hw.ncpu`
-echo Using $NUMCORES cores
-
-echo Using CXX compiler $CXX and C compiler $CC
-
-# Setup target directory
-mkdir cmake
-cd cmake
-cmake --version
-
-# Build
-echo Build target: ${BUILD_TARGET}
-cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${BUILD_TARGET}
-make -j$NUMCORES
-
-ccache --show-stats
-
-# Test
-./test/gitversion/gitversion-test
-./test/cpp-utils/cpp-utils-test
-./test/parallelaccessstore/parallelaccessstore-test
-./test/blockstore/blockstore-test
-./test/blobstore/blobstore-test
-./test/cryfs/cryfs-test
-
-# TODO Also run once fixed
-# ./test/fspp/fspp-test
-# ./test/cryfs-cli/cryfs-cli-test
diff --git a/testing/source/vtown/deps/cryfs/.travisci/install.sh b/testing/source/vtown/deps/cryfs/.travisci/install.sh
deleted file mode 100755
index 9057a75b9..000000000
--- a/testing/source/vtown/deps/cryfs/.travisci/install.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Install newer GCC if we're running on GCC
-if [ "${CXX}" == "g++" ]; then
- # We need to uninstall oclint because it creates a /usr/local/include/c++ symlink that clashes with the gcc5 package
- # see https://github.com/Homebrew/homebrew-core/issues/21172
- brew cask uninstall oclint
- brew install gcc@7
-fi
-
-brew cask install osxfuse
-brew install libomp
-
-# By default, travis only fetches the newest 50 commits. We need more in case we're further from the last version tag, so the build doesn't fail because it can't generate the version number.
-git fetch --unshallow --tags
-
-# Setup ccache
-brew install ccache