Skip to content

Commit

Permalink
build easypi/shadowsocks-libev-arm on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Mar 25, 2017
1 parent c07bf59 commit 10e3f96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ env:
- URL=https://www.youtube.com/

before_install:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker build -t easypi/shadowsocks-libev-arm:$SS_VER -f Dockerfile.arm .
- docker build -t easypi/shadowsocks-libev:$SS_VER .
- docker run -d -p 127.0.0.1:8388:8388 -e PASSWORD=helloworld --name server easypi/shadowsocks-libev:$SS_VER
- docker run -d -p 127.0.0.1:1080:1080 --link server:server --name client easypi/shadowsocks-libev:$SS_VER
Expand All @@ -36,6 +38,9 @@ after_success:
if [[ $TRAVIS_TAG && $URL == *youtube* ]];
then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker tag easypi/shadowsocks-libev-arm:$SS_VER easypi/shadowsocks-libev-arm:latest;
docker push easypi/shadowsocks-libev-arm:$SS_VER;
docker push easypi/shadowsocks-libev-arm:latest;
docker tag easypi/shadowsocks-libev:$SS_VER easypi/shadowsocks-libev:latest;
docker push easypi/shadowsocks-libev:$SS_VER;
docker push easypi/shadowsocks-libev:latest;
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.arm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Dockerfile for shadowsocks-libev-arm
#

FROM easypi/alpine-arm
FROM easypi/alpine-arm:build
MAINTAINER EasyPi Software Foundation

ENV SS_VER 3.0.5
Expand Down

0 comments on commit 10e3f96

Please sign in to comment.