We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecd35e commit bbfa5e8Copy full SHA for bbfa5e8
.travis.yml
@@ -5,10 +5,20 @@ python:
5
- "3.5"
6
- "3.6"
7
- "pypy3.5"
8
-# command to install dependencies
9
-install: "pip install -r requirements.txt"
10
-before_script:
11
- - export PY_VERSION=`python -c 'import sys; print sys.version_info.major'`
12
- - if [[ "$PY_VERSION" == '2' ]]; then ./lint.sh all; fi
13
-# command to run tests
14
-script: pytest
+
+jobs:
+ include:
+ - name: "Lint"
+ python: "2.7"
+ script: ./lint.sh all
15
+before_install:
16
+ - nvm install 8 && npm install -g firebase-tools
17
+script:
18
+ - pytest
19
+ - firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py'
20
+cache:
21
+ pip: true
22
+ npm: true
23
+ directories:
24
+ - $HOME/.cache/firebase/emulators
0 commit comments