(trv) Get bc-multiarch from Github
D. Ilmari Mannsåker [Mon, 25 Jan 2016 12:46:45 +0000 (12:46 +0000)]
maint/travis-ci_scripts/10_before_install.bash

index 3db9fc2..6780a8e 100755 (executable)
@@ -154,14 +154,9 @@ FileUsage       = 1
 
 ### config oracle
   if [[ "$DBICTEST_ORA" = "true" ]]; then
-    run_or_err "Installing dummy multiarch bc package" '
-      bc_tempdir="$(mktemp -d)"
-      wget -O "$bc_tempdir/bc-multiarch_1.0_all.deb" -q http://ilmari.org/bc-multiarch/bc-multiarch_1.0_all.deb
-      sudo dpkg -i "$bc_tempdir/bc-multiarch_1.0_all.deb" || sudo bash -c "source maint/travis-ci_scripts/common.bash && apt_install -f"
-    '
-
-    run_or_err "Cloning poor man's cache from github" "git clone --depth=1 --single-branch --branch=oracle/10.2.0 https://github.com/poortravis/poormanscache.git $CACHE_DIR && $CACHE_DIR/reassemble"
-    run_or_err "Installing OracleXE manually from deb" "sudo dpkg -i $CACHE_DIR/apt_cache/oracle-xe_10.2.0.1-1.1_i386.deb || sudo bash -c 'source maint/travis-ci_scripts/common.bash && apt_install -f'"
+    run_or_err "Cloning poor man's cache from github" "git clone --depth=1 --single-branch --branch=oracle/10.2.0 https://github.com/poormanscache/poormanscache.git $CACHE_DIR && $CACHE_DIR/reassemble"
+    run_or_err "Installing OracleXE manually from deb" \
+      "sudo dpkg -i $CACHE_DIR/apt_cache/bc-multiarch-travis_1.0_all.deb $CACHE_DIR/apt_cache/oracle-xe_10.2.0.1-1.1_i386.deb || sudo bash -c 'source maint/travis-ci_scripts/common.bash && apt_install -f'"
 
     SRV_ORA_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server