forked from uuberoy/scalabel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 897 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
language: python
language: go
python:
- "3.6"
go:
- "1.10"
go_import_path: github.com/ucbdrive/scalabel
before_install:
- sudo apt-get update
- sudo apt-get install -y npm
install:
- sudo pip install --upgrade pip
- sudo pip install pycodestyle
- bash scripts/install_go_packages.sh
- npm install
- node_modules/.bin/flow-typed install
- node_modules/.bin/flow-typed install @material-ui/core@1 # install material-ui types separately
script:
- pycodestyle --show-source . --exclude=node_modules
- node_modules/.bin/eslint .
- node_modules/.bin/tslint --project tsconfig.json --config tslint.json
- node_modules/.bin/flow check
- node_modules/.bin/npx webpack --config webpack.config.js --mode=production
- go build -i -o ./bin/sat ./server/http
- go test ./server/http -args --config ../../app/config/travis_config.yml
- npm test
branches:
only:
- master