Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
bfd535ce
Commit
bfd535ce
authored
Dec 08, 2015
by
Bruno
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #192 from oh-my-fish/docker-hub
Faster CI builds
parents
391ea898
0fd73792
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
.travis.yml
.travis.yml
+8
-7
Dockerfile
Dockerfile
+11
-8
tests/run.fish
tests/run.fish
+0
-0
No files found.
.travis.yml
View file @
bfd535ce
sudo
:
required
language
:
generic
services
:
-
docker
...
...
@@ -10,16 +10,17 @@ env:
before_install
:
-
source tools/travis-github-pr-integration.sh
-
docker build -t fish . < Dockerfile
before_script
:
-
docker run -e 'CI=WORKAROUND' -e "OMF_REPO_URI=$OMF_REPO_URI" -e "OMF_REPO_BRANCH=$OMF_REPO_BRANCH" -t -v $PWD:/src/oh-my-fish fish /usr/bin/fish -c "/src/oh-my-fish/bin/install"
-
docker ps -a -q | xargs -i docker commit {} oh-my-fish
-
docker run -t -w "/root/.local/share/omf" oh-my-fish /usr/bin/fish -c "export; tree -h"
-
docker build --build-arg OMF_REPO_BRANCH=$OMF_REPO_BRANCH --build-arg OMF_REPO_URI=$OMF_REPO_URI -t oh-my-fish . < Dockerfile
-
docker run -t oh-my-fish /usr/bin/fish -c "export; tree -h"
script
:
-
docker run -t -w "/root/.local/share/omf" oh-my-fish /usr/bin/fish "tests/test_runner.fish"
-
docker run -t -w "/root/.local/share/omf" oh-my-fish /usr/bin/fish "tests/test-generate-themes-doc.fish"
-
docker run -t oh-my-fish /usr/bin/fish "tests/run.fish"
-
docker run -t oh-my-fish /usr/bin/fish "tests/test-generate-themes-doc.fish"
after_failure
:
-
docker ps -a
notifications
:
email
:
...
...
Dockerfile
View file @
bfd535ce
FROM
ubuntu
FROM
ohmyfish/fish:2.2.0
RUN
echo
"Installing fish"
RUN
sudo
apt-get
install
-y
software-properties-common
&&
\
sudo
apt-add-repository ppa:fish-shell/release-2
&&
\
sudo
apt-get
-y
update
&&
\
sudo
apt-get
-y
install
fish
COPY
. /src/oh-my-fish
RUN
echo
"Installing dependencies"
RUN
sudo
apt-get
-y
install
curl git tree
# Prevent install from opening a new fish shell
ENV
CI WORKAROUND
# Replace this when offline installation is supported
ARG
OMF_REPO_BRANCH=master
ARG
OMF_REPO_URI=https://github.com/oh-my-fish/oh-my-fish
RUN
fish /src/oh-my-fish/bin/install
WORKDIR
/root/.local/share/omf
tests/
test_runner
.fish
→
tests/
run
.fish
100755 → 100644
View file @
bfd535ce
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment