Skip to content

Commit

Permalink
Use docker image from the dockerfiles repo.
Browse files Browse the repository at this point in the history
We no longer try to rebuild the image here. Perhaps someday we can build
it in the dockerfiles travis build, or on a separate machine. For now,
we push it manually.
  • Loading branch information
iphydf committed Sep 18, 2016
1 parent 10eb192 commit 6b18861
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 238 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ matrix:
- env: JOB=hstox ENV=android ARCH=arm
services:
- docker
- env: JOB=hstox ENV=android ARCH=x86
- env: JOB=hstox ENV=android ARCH=i686
services:
- docker
- env: JOB=hstox ENV=osx
Expand All @@ -29,10 +29,9 @@ cache:
- $HOME/.cabal
- $HOME/.ghc

install: .travis/phase $JOB $ENV install
script: .travis/phase $JOB $ENV script
after_script: .travis/phase $JOB $ENV after_script
after_success: .travis/phase $JOB $ENV after_success
install: .travis/phase $JOB $ENV install
script: .travis/phase $JOB $ENV script
after_script: .travis/phase $JOB $ENV after_script

notifications:
irc: "chat.freenode.net#toktok-status"
Expand Down
9 changes: 0 additions & 9 deletions .travis/android-after_success

This file was deleted.

3 changes: 2 additions & 1 deletion .travis/android-install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh

docker pull $DOCKER_IMAGE
make -C tools/docker build-$ARCH
docker run --rm $DOCKER_IMAGE cat /root/dockrun > dockrun
chmod +x dockrun
4 changes: 2 additions & 2 deletions .travis/android-script
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

tools/docker/dockrun target-cabal configure -flibrary-only
tools/docker/dockrun target-cabal build
./dockrun target-cabal configure -flibrary-only
./dockrun target-cabal build
2 changes: 1 addition & 1 deletion .travis/env-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

NPROC=`nproc`

export DOCKER_IMAGE=iphydf/haskell-hstox:8.0.1-$ARCH
export DOCKER_IMAGE=toktoknet/ghc-android-hstox:latest.$ARCH
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ TEST_TOXCORE = dist/build/test-toxcore/test-toxcore


all: check $(DOCS)
$(MAKE) -C tools/docker scripts

fuzz: .build.stamp
@echo "Cleaning up previous results"
Expand Down
36 changes: 0 additions & 36 deletions tools/docker/Dockerfile.in

This file was deleted.

27 changes: 0 additions & 27 deletions tools/docker/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/arm/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions tools/docker/dockrun

This file was deleted.

67 changes: 0 additions & 67 deletions tools/docker/patches/hs-zlib-ffi.patch

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/user-scripts/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions tools/docker/user-scripts/build-libsodium.sh

This file was deleted.

15 changes: 0 additions & 15 deletions tools/docker/user-scripts/cabal-install-setup.sh

This file was deleted.

14 changes: 0 additions & 14 deletions tools/docker/user-scripts/cabal-install-zlib.sh

This file was deleted.

16 changes: 0 additions & 16 deletions tools/docker/user-scripts/entrypoint.sh

This file was deleted.

7 changes: 0 additions & 7 deletions tools/docker/user-scripts/install-deps.sh.in

This file was deleted.

5 changes: 0 additions & 5 deletions tools/docker/user-scripts/target-cabal

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/x86/.gitignore

This file was deleted.

0 comments on commit 6b18861

Please sign in to comment.