forked from seung-lab/neuroglancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (61 loc) · 1.5 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: python
os:
- linux
python:
- "3.5"
- "3.8"
jobs:
include:
- name: "C++"
language: cpp
install:
- cd python
- mkdir build
script:
- cd build
- cmake ..
- make
- ctest
- os: osx
osx_image: xcode8.3
python: "3.6-dev"
- name: "Web client"
addons:
chrome: stable
language: node_js
node_js: node
before_install:
- node --version
- openssl aes-256-cbc -K $encrypted_f46babd475e4_key -iv $encrypted_f46babd475e4_iv -in credentials.tar.gz.enc -out credentials.tar.gz -d
- tar -xzf credentials.tar.gz
- sudo mv secrets /secrets && sudo chown $USER /secrets
- rm credentials.tar.gz
- $(python version.py) #sets APPVERSION
install:
- npm install
script:
- npm run build
- npm run build-min
- npm run build-python
- npm run build-python-min
- npm run test
- npm run benchmark
after_success:
- cp -r ./dist/python-min appengine/frontend/static/
deploy:
- provider: gae
edge: true
keyfile: "/secrets/google-secret.json"
project: neuromancer-seung-import
version: "$APPVERSION"
on:
all_branches: true
promote: false
verbosity: warning
config: "./appengine/frontend/app.yaml"
stop_previous_version: true
install:
- pip install tox-travis
script:
- cd python
- tox -vvvvvvv