forked from qooxdoo/qooxdoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (52 loc) · 2.21 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
sudo: false
language: php
php: 5.6
dist: trusty
addons:
sauce_connect:
username: "qx-core"
jwt:
secure: "QFvZbXLlQSdvPTGg8U4qPb/HREYXdpZZaqrZl0ab4f/w2WFPf9hS1aS/S5IG7HxdR4ie3eQZOQm/9Tj37dT9C4LAMiFGdt3awRKmgqoQmse2oKZsbv1HwamPbYkQQG3/UP/xVygk2Dt4IyikrRAYk1gTyFtWv23M9yMAn0+8Qxk="
firefox: latest
apt:
packages:
- python-sphinx
- python-markdown
env:
- secure: vW8wdbY/DmRITaFkQix8PUuE3jiwy2Yj0nn+k+yNqcwPde19ObQBq0rHJEiO5AJOBuNiWaie2n8sQQ6ceK72pU1IbIntPsztY/EFKP6x009wjmiLoifsVEGNP1kxLgFOnvCmlGjTIyGsqse5UsVt8HZs2jHK8xkkedTehuDNxtI=
cache:
directories:
- "/tmp/qx*"
before_install:
- gem install sass -v 3.4.20
install:
- .travis/prepare_npm
- cd framework
stages:
- name: Lint
- name: Unit-Tests
- name: Deploy
if: repo = qooxdoo/qooxdoo AND (NOT type IN (pull_request)) AND ( branch = master OR tag =~ ^v[0-9] )
jobs:
include:
- stage: Lint
script: ../.travis/lint
- stage: Unit-Tests
#script: ../.travis/test ChromeSL,ChromeBetaSL,FirefoxSL,FirefoxBetaSL,SafariSL,EdgeSL,IESL
script: ../.travis/test ChromeSL,ChromeBetaSL,FirefoxSL,FirefoxBetaSL,EdgeSL
- script: ../.travis/coverage
- stage: Deploy
script: ../.travis/deploy
before_deploy:
- export RELEASE_PKG_FILE=$(ls dist/*.zip)
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
deploy:
provider: releases
api_key:
secure: ekeMQx+Mq7ydMyR2YPmhhUP7Ai8qlfi5BJ1q5E0kSKb4F73OUzA0cyFlTpdcI+zbcYWHpxAHbZXHz7VtpUN7lRcCMW3WGdpW5FjZAUKxR253Nysz39rdGS0CC4G3RKRyLmaOwqVldRKruY1rea3a92zPud2i7NrjgSN8riDZGm9SHbnv8xxyWfa+aC1FyUfi11kJquwjhlKHFvQ4Mt0w1KUP7kk+e1Nt2ZPDI5XMFq94bIx412dBkKrI5UAEQcVSmhZ/uCzJVZ6kCd266z0uhbJ4MVagiB+M6Xkrs1//yeEL87qj0T9viFRUxZVlh1ORs+ltRsnXIVCzpP6ul/rrhD2y8mz4vm5EQBgFVNuBWLufShONR0iOSLv2/Up4D2BVgqy5e4oxG6pEO9tzOgXnSm/SdByL+a4YxQiqZ3MuWxbGCuHk/5Lmb5GH7qJInyoJRw4nQXbeIM/s62ReByjc6BHmst3gvtjhvwh/x/q3eaGxAkuSc+AHA7x3S0FPguTQxlfYA3iYjCVKzHLFQiROpshH0IxxXkF7G3qrdkdRLCbMTxdURFOZCpVetCUELaewzD8t2oJaGywyJF3Fm/izQEgKg03wjtqTfC/+DvE/Eno0lyw0pdtccSWDhRnIynbVI/1NBMFbPxCiTktAD5hCLIM4UaDnLth+ikxNWD4su/Y=
file_glob: true
file: "${RELEASE_PKG_FILE}"
skip_cleanup: true
on:
repo: qooxdoo/qooxdoo
tags: true