forked from visgl/deck.gl
-
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.
- Loading branch information
1 parent
fa5928a
commit 0db6723
Showing
6 changed files
with
51 additions
and
0 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,6 @@ | ||
#!/usr/bin/env bash | ||
sh /etc/init.d/xvfb | ||
|
||
npm run cover | ||
|
||
cat coverage/lcov.info | coveralls |
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 @@ | ||
steps: | ||
- name: ":docker: :package:" | ||
plugins: | ||
docker-compose#v1.5.2: | ||
build: deck-gl | ||
image-repository: 296822479253.dkr.ecr.us-east-2.amazonaws.com/fusionjs | ||
- wait | ||
- name: ":eslint:" | ||
command: "npm run lint" | ||
plugins: | ||
docker-compose#v1.5.2: | ||
run: deck-gl | ||
- name: ":node:" | ||
command: ".buildkite/coverTests" | ||
plugins: | ||
docker-compose#v1.5.2: | ||
run: deck-gl |
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,5 @@ | ||
XVFB=/usr/bin/Xvfb | ||
XVFBARGS="$DISPLAY -screen 0 1024x768x24 -ac +extension GLX +render -noreset" | ||
PIDFILE=/var/run/xvfb.pid | ||
|
||
start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS |
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,15 @@ | ||
FROM node:8.9.0 | ||
|
||
WORKDIR /deck-gl | ||
ENV PATH /deck-gl/node_modules/.bin:$PATH | ||
|
||
# Install XVFB dependencies into container | ||
ENV DISPLAY :99 | ||
ADD .buildkite/xvfb /etc/init.d/xvfb | ||
|
||
RUN apt-get update | ||
RUN apt-get -y install xvfb && chmod a+x /etc/init.d/xvfb | ||
|
||
COPY package.json yarn.lock /deck-gl/ | ||
|
||
RUN yarn |
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,7 @@ | ||
version: '2' | ||
services: | ||
deck-gl: | ||
build: . | ||
volumes: | ||
- .:/deck-gl | ||
- /deck-gl/node_modules/ |