FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docker-python-simplehttpserver/.travis.yml at master · trinitronx/docker-python-simplehttpserver · GitHub
trinitronx
/
docker-python-simplehttpserver
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
7
Star
10
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
docker-python-simplehttpserver
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (27 loc) · 833 Bytes
Breadcrumbs
docker-python-simplehttpserver
/
.travis.yml
Copy path
File metadata and controls
33 lines (27 loc) · 833 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language
:
ruby
sudo
:
required
dist
:
trusty
group
:
edge
services
:
-
docker
env
:
global
:
-
COMMIT=${TRAVIS_COMMIT::8}
-
REPO=trinitronx/python-simplehttpserver
install
:
-
npm install -g validate-dockerfile
-
gem install bundler
-
bundle install --without development
script
:
-
docklint Dockerfile
-
docker events &
-
export DOCKER_EVENTS_PID=$!
-
bundle exec rake spec
-
kill $DOCKER_EVENTS_PID
after_success
:
-
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
-
export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
-
docker tag $REPO:$COMMIT $REPO:$TAG
-
docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
-
docker push $REPO
-
"
[ -e
\"
~/.docker/config.json
\"
] && shred -n 30 -u -z ~/.docker/config.json
"
Back
|
FazBrowse Home
|
New Git URL