2015-01-23 18:35:29 +00:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
RUN apt-get -y install curl git software-properties-common
|
|
|
|
|
|
|
|
# Set bootstrap script environment variables
|
|
|
|
ENV FISH_PPA=nightly-master \
|
|
|
|
TRAVIS_OS_NAME=linux TRAVIS_REPO_SLUG=bpinto/oh-my-fish TRAVIS_BRANCH=master
|
|
|
|
|
|
|
|
# Cache script folder
|
|
|
|
ADD script /src/script
|
|
|
|
|
2015-01-23 21:25:36 +00:00
|
|
|
# Install fish and oh-my-fish
|
|
|
|
RUN /src/script/bootstrap.sh
|
2015-01-23 18:35:29 +00:00
|
|
|
|
2015-01-23 21:25:36 +00:00
|
|
|
WORKDIR /root/.oh-my-fish
|
2015-01-23 18:35:29 +00:00
|
|
|
|
|
|
|
CMD ["fish", "./script/run-tests.fish", "--verbose"]
|