From 03db0d0c17335d07d47184e6b2da74346d3eb57d Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 18 Dec 2016 13:05:38 +0000 Subject: [PATCH] Suggest using Travis CI's docker image for Linux Instead of providing a script to install the Travis bits LOOT needs on top of Ubuntu 12.04, point towards using the Docker image that Travis provides. --- README.md | 2 +- scripts/linux/prepare_ubuntu_precise.sh | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 scripts/linux/prepare_ubuntu_precise.sh diff --git a/README.md b/README.md index d285a86f..6b4b7654 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Refer to `appveyor.yml` for the build process. The Appveyor configuration assume ### Linux -Refer to `.travis.yml` for the build process. If starting from a freshly-installed instance of Ubuntu Server 12.04, first run the steps in the `scripts/linux/prepare_ubuntu_precise.sh` to install some additional packages Travis instances have pre-installed. +Refer to `.travis.yml` for the build process. A [local Docker image](https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image) can be used to ensure the assumed build environment. Not all LOOT's features have been implemented for Linux builds. Issues labelled `linux` on LOOT's issue tracker cover such missing features where they can be diff --git a/scripts/linux/prepare_ubuntu_precise.sh b/scripts/linux/prepare_ubuntu_precise.sh deleted file mode 100644 index 6510189b..00000000 --- a/scripts/linux/prepare_ubuntu_precise.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# This script prepares a fresh install of Ubuntu Server 12.04 so that the steps -# in .travis.yml can then be run. - -sudo rm -rf /var/lib/apt/lists/* -sudo apt-get update - -sudo apt-get install -y python-software-properties git build-essential libcurl4-openssl-dev - -sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 -sudo apt-add-repository -y 'deb https://deb.nodesource.com/node_4.x precise main' -sudo apt-get update -sudo apt-get install -y nodejs