forked from fossasia/open-event-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 853 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
44
45
46
47
48
language: node_js
node_js:
- "12"
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"
install: yarn
script:
- touch .env
- node scripts/l10n.js generate
- yarn lint
- COVERAGE=true yarn test
- ROOT_URL=open-event-frontend ember build -prod
- bash scripts/test_fastboot.sh
after_success:
- 'bash <(curl -s https://codecov.io/bash)'
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
branches:
only:
- master
- development