Skip to content

Commit

Permalink
Merge pull request #139 from jacebrowning/release/v1.1
Browse files Browse the repository at this point in the history
Release v1.1
  • Loading branch information
jacebrowning committed Jan 6, 2017
2 parents 36ceeef + 11641a2 commit 11362db
Show file tree
Hide file tree
Showing 39 changed files with 773 additions and 319 deletions.
19 changes: 19 additions & 0 deletions .appveyor.yml
@@ -0,0 +1,19 @@
cache:
- env

install:
# Export build paths
- copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
- set PATH=%PATH%;C:\MinGW\bin
- make --version
# Check system dependencies
- make doctor
# Install project dependencies
- make install

build: off

test_script:
- make test
- make check
- make demo
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,4 @@
/demo
*/tests/files/gitman_sources

# Temporary Python files
Expand Down Expand Up @@ -37,10 +38,12 @@ Icon*
.coverage
.coverage.*
/htmlcov
/xmlreport
/pyunit.xml
*.tmp

# Build and release directories
*.spec
/build
/dist

Expand Down
4 changes: 3 additions & 1 deletion .pep8rc
@@ -1,6 +1,8 @@
[pep8]

# E401 multiple imports on one line (checked by PyLint)
# E402 module level import not at top of file (checked by PyLint)
# E501: line too long (checked by PyLint)
# E711: comparison to None (used to improve test style)
# E712: comparison to True (used to improve test style)
ignore = E501,E711,E712
ignore = E401,E402,E501,E711,E712
6 changes: 6 additions & 0 deletions .pylintrc
Expand Up @@ -8,6 +8,12 @@ max-line-length=80

ignore-long-lines=^.*((https?:)|(pragma:)|(TODO:)).*$

[SIMILARITIES]

min-similarity-lines=4

ignore-imports=yes

[REPORTS]

reports=no
Expand Down
27 changes: 13 additions & 14 deletions .travis.yml
@@ -1,32 +1,31 @@
sudo: false

language: python
python:
- 3.5
- 3.5

cache:
pip: true
directories:
- env
- ~/virtualenv/python3.5.*

env:
global:
- RANDOM_SEED=12345
- RANDOM_SEED=0

install:
- pip install coveralls scrutinizer-ocular
before_install:
- make doctor

before_script:
- make env
- make depends
install:
- make install

script:
- make check
- make test
- make check
- make test
- make demo

after_success:
- coveralls
- ocular
- pip install coveralls scrutinizer-ocular
- coveralls
- ocular

notifications:
email:
Expand Down
41 changes: 41 additions & 0 deletions .verchew
@@ -0,0 +1,41 @@
[Make]

cli = make

version = GNU Make


[Python]

cli = python

version = Python 3.5.


[Git]

cli = git

version = 2.


[virtualenv]

cli = virtualenv

version = 15.


[pandoc]

cli = pandoc

version = 1.


[Graphviz]

cli = dot
cli_version_arg = -V

version = 2.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Revision History

## 1.1 (2017/01/06)

- Added coloring to the command-line output.
- Added preliminary Windows support.
- Fixed issue where `<dirty>` could be saved as a locked revision.

## 1.0.2 (2016/07/28)

- Moved documentation to http://gitman.readthedocs.io/.
Expand Down
28 changes: 17 additions & 11 deletions CONTRIBUTING.md
Expand Up @@ -5,18 +5,24 @@
### Requirements

* Make:
* Windows: http://cygwin.com/install.html
* Windows: https://cygwin.com/install.html
* Mac: https://developer.apple.com/xcode
* Linux: http://www.gnu.org/software/make (likely already installed)
* Linux: https://www.gnu.org/software/make (likely already installed)
* Pandoc: http://johnmacfarlane.net/pandoc/installing.html
* Graphviz: http://www.graphviz.org/Download.php

To confirm these system dependencies are configured correctly:

```sh
$ make doctor
```

### Installation

Create a virtual environment:
Install project dependencies into a virtual environment:

```
$ make env
```sh
$ make install
```

## Development Tasks
Expand All @@ -25,14 +31,14 @@ $ make env

Manually run the tests:

```
```sh
$ make test
$ make tests # includes integration tests
```

or keep them running on change:

```
```sh
$ make watch
```

Expand All @@ -42,15 +48,15 @@ $ make watch

Build the documentation:

```
```sh
$ make doc
```

### Static Analysis

Run linters and static analyzers:

```
```sh
$ make pep8
$ make pep257
$ make pylint
Expand All @@ -61,15 +67,15 @@ $ make check # includes all checks

The CI server will report overall build status:

```
```sh
$ make ci
```

## Release Tasks

Release to PyPI:

```
```sh
$ make upload-test # dry run upload to a test server
$ make upload
```

0 comments on commit 11362db

Please sign in to comment.