-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
executable file
·44 lines (36 loc) · 1.11 KB
/
shippable.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
# Specify the language that you want to use.
language: node_js
# Set the language version number
node_js:
- 4.1.2
# Declare the services you want to use for your build. eg: databases
services:
# - mysql
# - postgres
# Declare global variables to be used during your build.
env:
global:
- APP_NAME=fse-cmu-continuous-delivery
- IS_SHIPPABLE=true
- CLEARDB_DATABASE_URL=mysql://[email protected]:3306/test
- XUNIT_FILE=shippable/testresults/result.xml
# Setup your environment before the build starts.
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage/
# - mysql -e 'drop database if exists test;'
# Your build commands goes here
build:
# Commands that should be executed during the build.
ci:
- npm install -g grunt-cli mocha istanbul
- npm install
- grunt shippable
- istanbul report cobertura --dir shippable/codecoverage/
# Commands to run after a successfull build
after_success:
#- cp -rf ./coverage/ shippable/codecoverage/
#- git push -f [email protected]:$APP_NAME.git master
# Notifications for each build
notifications:
email: false