Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 655611a + 6128a35 commit 76ac83cCopy full SHA for 76ac83c
‎.travis.yml
@@ -1,16 +1,13 @@
1
-language: python
2
-python:
3
- - "3.6"
4
-
5
# Install dependencies.
6
install:
7
- - pip install -r requirements.txt
+ - sh <(curl -q https://platform.activestate.com/dl/cli/install.sh) -n
+
+before_script:
8
9
# Run linting and tests.
10
script:
11
- - pylint ./src
12
- - flake8 ./src --statistics --count
13
- - pytest
+ - state run lints
+ - state run tests
14
15
# Turn email notifications off.
16
notifications:
‎activestate.yaml
@@ -1,3 +1,10 @@
project: https://platform.activestate.com/shnewto/learn-python?commitID=c3e759c8-6b60-441c-ad84-7628a4fb542f
languages:
- name: python
+scripts:
+ - name: tests
+ value: pytest
+ - name: lints
+ value: |
+ pylint ./src
+ flake8 ./src --statistics --count
0 commit comments