-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travisci -> circleci + local concurrent test runner (#273)
- Loading branch information
Showing
12 changed files
with
496 additions
and
37 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,77 @@ | ||
version: 2 | ||
aliases: | ||
- &job_config | ||
docker: | ||
- image: jacktasia/dumb-jump-test-runner:v3 | ||
environment: | ||
EVM_EMACS: $EVM_EMACS | ||
COVERALLS_REPO_TOKEN: $COVERALLS_REPO_TOKEN | ||
|
||
working_directory: /home/travis/dumb-jump | ||
|
||
steps: | ||
- checkout | ||
- run: echo "$EVM_EMACS" > ~/EVM_EMACS.txt | ||
- restore_cache: | ||
keys: | ||
- v1-dj-cache-evm-{{ checksum "~/EVM_EMACS.txt" }} | ||
- run: evm install $EVM_EMACS --use --skip | ||
- save_cache: | ||
key: v1-dj-cache-evm-{{ checksum "~/EVM_EMACS.txt" }} | ||
paths: | ||
- /home/travis/.evm/ | ||
# cask | ||
- restore_cache: | ||
keys: | ||
- v1-dj-cache-{{ checksum "~/EVM_EMACS.txt" }} | ||
- run: cask | ||
- save_cache: | ||
key: v1-dj-cache-{{ checksum "~/EVM_EMACS.txt" }} | ||
paths: | ||
- .cask/ | ||
|
||
- run: | ||
name: Run Tests | ||
command: bash test/circleci-runner.sh | ||
|
||
jobs: | ||
"emacs-24.3-travis": | ||
environment: | ||
EVM_EMACS: "emacs-24.3-travis" | ||
<<: *job_config | ||
|
||
"emacs-24.4-travis": | ||
environment: | ||
EVM_EMACS: "emacs-24.4-travis" | ||
<<: *job_config | ||
|
||
"emacs-24.5-travis": | ||
environment: | ||
EVM_EMACS: "emacs-24.5-travis" | ||
<<: *job_config | ||
|
||
"emacs-25.1-travis": | ||
environment: | ||
EVM_EMACS: "emacs-25.1-travis" | ||
<<: *job_config | ||
|
||
"emacs-25.2-travis": | ||
environment: | ||
EVM_EMACS: "emacs-25.2-travis" | ||
<<: *job_config | ||
|
||
"emacs-26.1-travis": | ||
environment: | ||
EVM_EMACS: "emacs-26.1-travis" | ||
<<: *job_config | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- "emacs-24.3-travis" | ||
- "emacs-24.4-travis" | ||
- "emacs-24.5-travis" | ||
- "emacs-25.1-travis" | ||
- "emacs-25.2-travis" | ||
- "emacs-26.1-travis" |
This file was deleted.
Oops, something went wrong.
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
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,24 @@ | ||
FROM ubuntu:14.04 | ||
|
||
RUN apt-get -qq update || ls | ||
RUN apt-get install -y --no-install-recommends software-properties-common curl && rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true | ||
RUN add-apt-repository ppa:gekkio/ag -y | ||
RUN add-apt-repository ppa:git-core/ppa -y | ||
RUN apt-get -qq update || ls | ||
RUN apt-get install -y --no-install-recommends silversearcher-ag git python ruby && rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true | ||
RUN curl -LO https://github.com/BurntSushi/ripgrep/releases/download/0.10.0/ripgrep_0.10.0_amd64.deb && sudo dpkg -i ripgrep_0.10.0_amd64.deb && rm ripgrep_0.10.0_amd64.deb && rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true | ||
ENV PATH="/root/.evm/bin:$PATH" | ||
ENV PATH="/root/.cask/bin:$PATH" | ||
ENV EVM_EMACS=emacs-24.3-travis | ||
|
||
RUN git clone https://github.com/rejeep/evm.git /root/.evm | ||
RUN evm config path /tmp | ||
RUN evm install emacs-24.3-travis --use --skip | ||
RUN curl -fsSkL https://raw.github.com/cask/cask/master/go | python | ||
|
||
RUN evm install $EVM_EMACS --use --skip | ||
|
||
RUN apt-get install -y --no-install-recommends make libgtk2.0-0 libsm-dev && rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true | ||
|
||
ADD test/circleci-runner.sh circleci-runner.sh | ||
ENTRYPOINT ["bash", "circleci-runner.sh"] |
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,17 @@ | ||
#!/bin/bash | ||
|
||
source /root/.bashrc | ||
|
||
evm install $EVM_EMACS --use --skip # should be a noop when cache | ||
|
||
PATH="/root/.evm/bin:$PATH" | ||
export PATH="/root/.cask/bin:$PATH" | ||
rg --version | ||
ag --version | ||
grep --version | ||
emacs --version | ||
git --version | ||
pwd | ||
cd /home/travis/dumb-jump | ||
cask install | ||
make test |
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
Oops, something went wrong.