-
Notifications
You must be signed in to change notification settings - Fork 102
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
Jonas Haag
committed
Nov 26, 2019
1 parent
df2fd66
commit 5bbbd0e
Showing
5 changed files
with
34 additions
and
19 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 |
---|---|---|
@@ -1,30 +1,41 @@ | ||
stages: | ||
- test | ||
- deploy | ||
|
||
|
||
# For tests | ||
os: linux | ||
addons: | ||
apt: | ||
packages: | ||
- exuberant-ctags | ||
language: python | ||
services: | ||
- docker | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
addons: | ||
apt: | ||
packages: | ||
- exuberant-ctags | ||
jobs: | ||
include: | ||
- python: 3.7 | ||
dist: xenial | ||
|
||
- "3.7" | ||
- "3.8" | ||
- "nightly" | ||
install: | ||
- "pip install ." | ||
- "pip install -r test_requirements.txt" | ||
script: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Your Name" | ||
- ./runtests.sh | ||
deploy: | ||
provider: script | ||
on: | ||
tags: true | ||
script: ./build-and-push-docker.sh | ||
|
||
|
||
# For deploy | ||
services: | ||
- docker | ||
jobs: | ||
include: | ||
- stage: deploy | ||
script: skip | ||
deploy: | ||
on: | ||
tags: true | ||
provider: script | ||
script: ./build-and-push-docker.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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -e | ||
docker build -t klaus:$TRAVIS_TAG --build-arg KLAUS_VERSION=$TRAVIS_TAG . | ||
docker build -t jonashaag/klaus:$TRAVIS_TAG --build-arg KLAUS_VERSION=$TRAVIS_TAG . | ||
echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin | ||
docker push jonashaag/klaus:$TRAVIS_TAG |
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
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ def install_data_files_hack(): | |
|
||
setup( | ||
name='klaus', | ||
version='1.5.0', | ||
version='1.5.1', | ||
author='Jonas Haag', | ||
author_email='[email protected]', | ||
packages=['klaus', 'klaus.contrib'], | ||
|