forked from sociomantic-tsunami/dhtproto
-
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
b5f4cd4
commit 5e6d6a6
Showing
6 changed files
with
64 additions
and
2 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,2 @@ | ||
* | ||
!docker/ |
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,34 @@ | ||
# We will use docker to set up out environment, so don't use any particular | ||
# language in Travis itself | ||
language: generic | ||
|
||
# Enable docker | ||
sudo: required | ||
services: | ||
- docker | ||
|
||
# Disable automatic submodule fetching (it's done recursively) | ||
git: | ||
submodules: false | ||
|
||
# Do a shallow submodule fetch | ||
before_install: git submodule update --init | ||
|
||
env: | ||
global: | ||
# Make sure beaver is in the PATH | ||
- PATH="$(git config -f .gitmodules submodule.beaver.path)/bin:$PATH" | ||
matrix: | ||
- DC=dmd1 DIST=trusty F=production | ||
- DC=dmd1 DIST=trusty F=devel | ||
- DC=dmd1 DIST=xenial F=production AFTER_SCRIPT=1 | ||
- DC=dmd1 DIST=xenial F=devel | ||
- DC=dmd-transitional DIST=trusty F=production | ||
- DC=dmd-transitional DIST=trusty F=devel | ||
- DC=dmd-transitional DIST=xenial F=production | ||
- DC=dmd-transitional DIST=xenial F=devel | ||
|
||
install: beaver install | ||
|
||
script: BEAVER_DOCKER_VARS="DC" beaver run ci/run.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,3 @@ | ||
FROM sociomantictsunami/dlang:trusty-v2 | ||
COPY docker/build / | ||
RUN /build && rm /build |
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,3 @@ | ||
FROM sociomantictsunami/dlang:xenial-v2 | ||
COPY docker/build / | ||
RUN /build && rm /build |
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,16 @@ | ||
#!/bin/sh | ||
set -xe | ||
|
||
DVER=1 | ||
if test "$DC" != dmd1; then | ||
DVER=2 | ||
fi | ||
|
||
export DC DVER | ||
|
||
if test "$DC" != dmd1; then | ||
make -r d2conv | ||
fi | ||
|
||
make -r all | ||
make -r 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