From 7674bc812e0edc43d25efda50daffbf0cf513143 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 5 Mar 2018 08:49:13 -0500 Subject: [PATCH] updates Signed-off-by: Kenneth Reitz --- .gitignore | 2 ++ run-tests.sh | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2db1c24e..6cee33ee 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ test_project /test/ /test/ + +/results.tap diff --git a/run-tests.sh b/run-tests.sh index ea11c002..567f1778 100644 --- a/run-tests.sh +++ b/run-tests.sh @@ -10,14 +10,15 @@ if [[ ! -z "$TEST_SUITE" ]]; then TEST_SUITE="" fi -if [[ ! -z "$NOT_CI" ]]; then - echo "Creating RAM disk…" +if [[ ! -z "$CI" ]]; then + echo "Using RAM disk…" - RAM_DISK="/media/ramdisk" + RAM_DISK="/opt/ramdisk" export RAM_DISK - sudo mkdir -p "$RAM_DISK" - sudo mount -t tmpfs -o size=4048M tmpfs "$RAM_DISK" + echo "Installing Pipenv…" + pip install -e . --upgrade --upgrade-strategy=only-if-needed + pipenv install --dev fi