forked from clojure-emacs/cider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clojure-emacs#2144] create a docker image to mimic the travis enviro…
…nment
- Loading branch information
1 parent
74889ac
commit e3e43b2
Showing
7 changed files
with
124 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM travisci/ci-garnet:packer-1490989530 | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y \ | ||
autogen \ | ||
ca-certificates \ | ||
curl \ | ||
gcc \ | ||
git \ | ||
libgmp-dev \ | ||
m4 \ | ||
make \ | ||
pkg-config \ | ||
python \ | ||
ruby \ | ||
xz-utils | ||
|
||
USER travis | ||
ENV HOME=/home/travis | ||
ENV PATH="${HOME}/local/evm/bin:${HOME}/local/cask/bin:${HOME}/local/bin:${PATH}" | ||
|
||
ADD travis-ci/ ${HOME}/cider-setup/travis-ci/ | ||
|
||
RUN ${HOME}/cider-setup/travis-ci/install-gnutls.sh | ||
RUN ${HOME}/cider-setup/travis-ci/install-evm.sh | ||
RUN ${HOME}/cider-setup/travis-ci/install-cask.sh | ||
|
||
RUN evm install emacs-25.3-travis | ||
RUN evm install emacs-26-pretest-travis | ||
RUN evm install emacs-git-snapshot-travis | ||
|
||
WORKDIR /home/travis/cider | ||
CMD /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker build -t cider-travis . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker run -it --rm -v `pwd`:/home/travis/cider cider-travis bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters