-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
71 lines (56 loc) · 2.91 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- coding: utf-8 -*-
#
# This file is part of CERN Document Server.
# Copyright (C) 2016 CERN.
#
# CERN Document Server is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# CERN Document Server is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CERN Document Server; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
#
# In applying this license, CERN does not
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.
notifications:
email: false
sudo: false
language: node_js
node_js:
- '5.4.1'
env:
global:
- GH_REF: github.com/CERNDocumentServer/cds-js.git
- secure: "nqWsRZ3mCiTcyzPzbHnAQi/LOi/Nk/csBtp5Pym7AuKYWxLSSEjoLxSWOfUuNKK6O6POYCLeu5rABtz0vWNXhuHW3IXXygSVDz4CYskmpUM4gr9YKoiq2o2tDR46D/ooXbxTsCHNH/6cR1j2EwZ3zSa5PgBnZH018FUK4FabTJIR2ENEz4p+PJRfPAwZjXUcja0eo8AXjAaA9blbTLOldQ5QQYfGlBmEBZFbuUGAGDap6L67hH56iAhMCsI3//HS/JmlW2SHMQLsRnnxDJ80E3FrBIT/pYmDA1MZIncbqDPMvISUf9mv2zRbSF81qpffFieepdw7Iqt5H2kq+wjYFLUByEApCxcmUwaTEiGOz+qWnwMJAZRUyMzHqmnEajSVNzOpivzXwJqBfoR8Mmc1vjPn/ih3GbjvvPLzJXvbMwhF3jlHPE4OIxKp+p0txEn1SMkwG7X6E0gdkCaN3eRxojHEtDGaW+XDOR7vGOgY6+Jticidl6KbqRtuQzcDuGHgiil688vTi6xLxok2bAiO4B6UgnjXki+0brk5PTwQyX/tCJWxu/Pg+TJf8Ipif2qWt3ZTXGoZprsKtpgr3SlMxjQp6Yj5l+Ysrs/QkW/lnsPgX30Ak1Eg2juOci/cHNznj1MueB0LkirHknAyomdbiF0OYtkPkZ0pFzij6hIa6d8="
before_script:
- 'npm install -g gulp'
before_install:
- 'npm i'
script:
- 'npm test'
after_success:
- 'npm run-script coverage'
before_deploy:
- 'npm run-script build'
deploy:
provider: npm
skip_cleanup: true
email: '[email protected]'
api_key:
secure: q1aqY1fwwF6DcrL5R7svEl1gy+dwRXF79NAy/D/dwc6RLwc6UURiGcOcg04njej8wdOJu8xsebH2dAFSuc8lZRP64/Zh1tH8Eae3Ci1g5KT2SBqBmlC7Doyz+38PRq9se4L1WMhY+4b3HiCcGyF/DYvbQ9ST6cHuLlS1BSfkUlg74764k4Kx5nPGp1ArAd1cb0iUtPRA7yiXiQGIEu0evgZrgBSI8Qik3a2SutauTfJww7F2zBO+09HJvec3WZmWuHNagBP1ID43XEtBnMqjYaBA2MfoeK4ulr0iC+WSuhe34MUC6MZGA6MIX9DeLir4uJ5AL08lOP9E2wseh0QxP1ama8roQok4/nd4G1QthARdo4wIi8vUb/8GY8Kh7uZOK1cg4yo0+dnLNkVqvKGJhYhayudnBFVjxOg5GjZ5ZFnMixf5gV4TSIEAKCBNXqdq/iajeQIuDyla2DfmMX7e0ZAU9SNcyVedMCgdpMiMERWY9hzY/0ZdYzAeSWw/6j9ZM3HtkPYPNi8j3fHiRNmLsMHy1sRuFaH0kp2GXqTD533c+pOS12i9+nyO31ekZAwm4wn2ZuLnO36zaWR0iJpkD8+r/Lgt1NmtmNKeY2hrRxRMiuUeovk5ADBT7c3rHIErVkKVBZD6/88vJY2pg9jh/xfmufjbJZaYv5ZCf24LOgs=
on:
tags: true
repo: CERNDocumentServer/cds-js
branch: master
node: '5.4.1'
after_deploy:
- ./deploy.sh