Skip to content

Commit

Permalink
ci: Build with GDC 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed Feb 16, 2019
1 parent 2582c27 commit 1a4c2f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ before_script:
- docker build -t asgen -f tests/ci/Dockerfile .

script:
- if [[ "$DC" == "gdc" ]]; then export DC="gdc-9"; fi
- docker run -t -e DC=$DC -v `pwd`:/build asgen
./tests/ci/build_and_test.sh
5 changes: 4 additions & 1 deletion tests/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ FROM debian:unstable
RUN apt-get update -qq

# install build essentials
RUN apt-get install -yq git gcc gdc ldc
RUN apt-get install -yq git gcc ldc
RUN echo "deb http://deb.debian.org/debian experimental main" >> /etc/apt/sources.list
RUN apt-get update -qq
RUN apt-get -t experimental install -yq gdc-9

# install dependencies used by both appstream and appstream-generator
RUN apt-get install -yq --no-install-recommends \
Expand Down

0 comments on commit 1a4c2f8

Please sign in to comment.