Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-05 08:49:13 -05:00
parent 3cfba01425
commit 7674bc812e
2 changed files with 8 additions and 5 deletions
+2
View File
@@ -22,3 +22,5 @@ test_project
/test/
/test/
/results.tap
+6 -5
View File
@@ -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