Skip to content

Commit

Permalink
Fix travis and docker config (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht authored and Zeitsperre committed Jan 5, 2021
1 parent fa89852 commit 4d8c272
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

8 changes: 0 additions & 8 deletions {{cookiecutter.project_slug}}/.docker.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.git
custom.cfg
docs/
tests/
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ __pycache__/

# custom configs
custom.cfg
Makefile.config

# Python / Extensions etc.
*~
Expand Down Expand Up @@ -147,6 +146,7 @@ docs/build/

# External Sources
#src/external
src/

# tests
*.log
Expand Down
7 changes: 6 additions & 1 deletion {{cookiecutter.project_slug}}/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# This file will be regenerated if you run travis_pypi_setup.py

language: python
#branches:
# only:
# - master
python:
- 3.8
- 3.7
Expand All @@ -20,7 +23,9 @@ install:
- make install
- make start
before_script:
- sleep 10
# Start WPS service on port 5000 on 0.0.0.0
- {{ cookiecutter.project_slug }} --daemon --bind-host 0.0.0.0 --port 5000
- sleep 5
script:
- make testall
- make pep8
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vim:set ft=dockerfile:
FROM continuumio/miniconda3
MAINTAINER https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
LABEL Description="{{ cookiecutter.project_slug }} WPS" Vendor="Birdhouse" Version="{{ cookiecutter.version }}"
LABEL Description="{{ cookiecutter.project_name }} WPS" Vendor="Birdhouse" Version="{{ cookiecutter.version }}"

# Update Debian system
RUN apt-get update && apt-get install -y \
Expand Down

0 comments on commit 4d8c272

Please sign in to comment.