forked from fossasia/open-event-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (42 loc) · 1.01 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
language: node_js
node_js:
- "8"
# - "10"
# sudo: required
# services:
# - docker
env:
- CXX=g++-4.8 JOBS=1 PATH=$PATH:${HOME}/google-cloud-sdk/bin CLOUDSDK_CORE_DISABLE_PROMPTS=1
cache:
yarn: true
addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- export PATH="$(yarn global bin):$PATH"
- yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
install: yarn
script:
- touch .env
- node scripts/l10n.js generate
- yarn lint:scss
- COVERAGE=true yarn test
- ROOT_URL=open-event-frontend ember build -prod
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash kubernetes/travis/docker-deploy.sh
# - bash kubernetes/travis/k8s-deploy.sh
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: false
local-dir: dist/
on:
branch: development