diff --git a/.travis.yml b/.travis.yml index c4c3882ce393af5a6a9bd6a00551ee5340b63841..f1ba242d663c70bba60a0f5bc29e30451c23470e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,7 @@ language: python -python: -- 3.5 -- 3.8 sudo: false install: - pip install -r requirements/travis.txt -script: -- make quality -- make test after_success: coveralls env: global: @@ -22,3 +16,15 @@ deploy: tags: true password: secure: DKlhHIFctJS9k/1sdlKfL34MwVIHxZn6QwrQ4/jMaiucNARP7MUoTEhd5wEN7wNMyafsYfkY960/dJuqgF6ztZzt7jYX+Nu9o0YEOM742f5hcqQcn/k2GrU2X5+hMgAVUL3YP4JlZwst4pRM1eRlzXgsoxqCET84V2biS1d04ivJgKO5T9NNHTeIQDRDpSpUVuloY1qVMS6IFewLjL6XZuCYtCBXBcBN29EDFvy8v683JAZyz332Xr8R0yF/u09XFKnW+migeiT9gWNafIKXgDAidr0gbkF4r71OdGCUxhCwa+/IHnAYCptajzd4QUd2gj5yOccbVhtUondK3DSA6NaAHdwFjmU7XS5XouDlMS83wyTbqGlEXj9dEuY6lq/UXeUjvfmbqUc1W5qi7eKGxY2qZ1+3HucnCVlPbzgEVMxnPN/YtPe59SSay60gFD7KyZfxxavLsuhSFM4+aZ/hyW9pI1vu+k9UuVVEw9QisUORHHg5YYC75BsVXI5kkhXAF7F880cFlV+DPEt7mwM0xsAPcbyStmmJ+7sXkoI6bWF+QsveqgY4SPYD14bZ8v3PK4b5UzrQOHSEpa1NNrm7942lnkySoC5Rm6YIShnLdJ+Gdf8wb4RezqnhmZcKVc/9QXQcUga+nj5CRUb9wFVncmak2tf8aAvfqeML8pHzkrs= + +jobs: + include: + - name: Python 3.5 - Tests + script: make test + python: "3.5" + - name: Python 3.8 - Tests + script: make test + python: "3.8" + - name: Code Quality + script: make quality + python: "3.5" \ No newline at end of file diff --git a/Makefile b/Makefile index e335b2fd3a9246b7c5e167c9307d0799f4ad2afa..0ae86fef01e3f4135f85dce5afa99b1ece416af6 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ compile-sass: ## Compile the Sass assets sass --no-cache --style compressed ./lti_consumer/static/sass/student.scss ./lti_consumer/static/css/student.css quality: ## Run the quality checks - -pycodestyle --config=.pep8 lti_consumer - -pylint --rcfile=pylintrc lti_consumer + pycodestyle --config=.pep8 lti_consumer + pylint --rcfile=pylintrc lti_consumer test: ## Run the tests mkdir -p var