forked from yss14/musicshare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (36 loc) · 798 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
41
42
43
dist: trusty
services:
- postgresql
- docker
language: node_js
node_js:
- "10"
cache: npm
env:
- CXX=g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
postgresql: "9.6"
before_install:
- docker pull bitnami/minio:latest
- docker run -d -p 127.0.0.1:9000:9000 -e MINIO_ACCESS_KEY=musicshare -e MINIO_SECRET_KEY=musicshare bitnami/minio
install:
- npm install
- npm run bootstrap
- npm run build:shared-types
jobs:
include:
- stage: Build and Test
script:
- npm run build:backend
- npm run verify:backend
- npm run lint
- npm run test:ci
- # stage name not required, will continue to use `test`
script:
- npm run verify:frontend
- npm run build:frontend