Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76ac83c

Browse files
committed
Merge branch 'activestate-platform-and-state-tool-setup' of github.com:shnewto/learn-python into activestate-platform-and-state-tool-setup
2 parents 655611a + 6128a35 commit 76ac83c

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

‎.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
language: python
2-
python:
3-
- "3.6"
4-
51
# Install dependencies.
62
install:
7-
- pip install -r requirements.txt
3+
- sh <(curl -q https://platform.activestate.com/dl/cli/install.sh) -n
4+
5+
before_script:
86

97
# Run linting and tests.
108
script:
11-
- pylint ./src
12-
- flake8 ./src --statistics --count
13-
- pytest
9+
- state run lints
10+
- state run tests
1411

1512
# Turn email notifications off.
1613
notifications:

‎activestate.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
project: https://platform.activestate.com/shnewto/learn-python?commitID=c3e759c8-6b60-441c-ad84-7628a4fb542f
22
languages:
33
- name: python
4+
scripts:
5+
- name: tests
6+
value: pytest
7+
- name: lints
8+
value: |
9+
pylint ./src
10+
flake8 ./src --statistics --count

0 commit comments

Comments
 (0)