Skip to content

Commit

Permalink
Update travis build settings and copyright date
Browse files Browse the repository at this point in the history
  • Loading branch information
adback03 committed Feb 11, 2018
1 parent 763b3bd commit e8f3bef
Show file tree
Hide file tree
Showing 26 changed files with 40 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

[run]
omit =
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

env:
global:
- CC_TEST_REPORTER_ID=edf3a98d1595fac700d2674f20a66251fd43a7c73b49e232e63530c16b9e3b37
language: python

python:
- "3.4"

- "3.6"
install:
# install python requirements
- make setup

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
# run tests
- make test

after_success:
- coveralls
- make test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Andrew Backes
Copyright (c) 2018 Andrew Backes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

# lists all available targets
list:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Elder Scrolls: Legends SDK

[![Build Status](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-python.svg?branch=master)](https://travis-ci.org/ElderScrollsLegends/elder-scrolls-legends-sdk-python)
[![Maintainability](https://api.codeclimate.com/v1/badges/ef27076576eb0104d265/maintainability)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ef27076576eb0104d265/test_coverage)](https://codeclimate.com/github/ElderScrollsLegends/elder-scrolls-legends-sdk-python/test_coverage)

This is the Elder Scrolls: Legends SDK Python implementation. It is a wrapper around the Elder Scrolls: Legends API of [https://elderscrollslegends.io](https://elderscrollslegends.io/).

## Requirements
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

from elderscrollslegendssdk.config import __version__, __pypi_packagename__, __github_username__, __github_reponame__, __endpoint__
from elderscrollslegendssdk.card import Card
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

from elderscrollslegendssdk.querybuilder import QueryBuilder

Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import json
from elderscrollslegendssdk.querybuilder import QueryBuilder
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

__version__ = "1.0.0"
__pypi_packagename__ = "elderscrollslegendssdk"
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

from elderscrollslegendssdk.querybuilder import QueryBuilder

Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/querybuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import json
from elderscrollslegendssdk.restclient import RestClient
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/restclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import json
from urllib.request import Request, urlopen
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/set.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import json
from elderscrollslegendssdk.querybuilder import QueryBuilder
Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/subtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

from elderscrollslegendssdk.querybuilder import QueryBuilder

Expand Down
2 changes: 1 addition & 1 deletion elderscrollslegendssdk/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

from elderscrollslegendssdk.querybuilder import QueryBuilder

Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>
2 changes: 1 addition & 1 deletion tests/test_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import vcr
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import unittest
import vcr
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import unittest
from elderscrollslegendssdk import __pypi_packagename__, __github_username__, __github_reponame__, __endpoint__
Expand Down
2 changes: 1 addition & 1 deletion tests/test_elderscrollslegendsexception.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import unittest
from elderscrollslegendssdk import ElderScrollsLegendsException
Expand Down
2 changes: 1 addition & 1 deletion tests/test_keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import vcr
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import vcr
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_subtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import vcr
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

import vcr
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
# Copyright (c) 2018, Andrew Backes <backes.andrew@gmail.com>

[tox]
envlist = py34
Expand Down

0 comments on commit e8f3bef

Please sign in to comment.