forked from mtgatracker/mtgatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 999 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- "3.6"
node_js:
- "8.9.1"
cache:
pip: true
#before_install:
# - pip install -U pip
#install:
# - pip install -U -r requirements-tests.txt
# - npm install wt-cli -g
# - npm install @babel/cli -g
# - npm install @babel/core -g
# - npm install @babel/runtime -g
# - npm install @babel/preset-env @babel/plugin-transform-runtime
# - npm install jsonwebtoken -g
# - npm install webtasks/on_demand
script:
- echo "oops, tests have moved :("
# - cd webtasks/on_demand
# - npm install .
# - npx babel mtga-tracker-game.js --out-file mtga-tracker-game.js
# - npx babel secrets-template.js --out-file secrets-template.js
# - npx babel ../util.js --out-file ../util.js
# - npx babel api -d api
# - node --version
# - sh serve_locally.sh
# - cd ..
# - python test_staging_endpoints.py -k "not cron" --local -v
#after_success:
# - cat on_demand/local_webtask_output.txt | grep "greppable"
#
#after_failure:
# - cat on_demand/local_webtask_output.txt