forked from qooxdoo/qooxdoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (73 loc) · 2.09 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
71
72
73
74
75
76
77
78
79
sudo: false
language: php
php: 5.6
dist: trusty
addons:
sauce_connect:
username: "qx-core"
firefox: latest
apt:
packages:
- python-sphinx
- python-markdown
env:
global:
- secure: vW8wdbY/DmRITaFkQix8PUuE3jiwy2Yj0nn+k+yNqcwPde19ObQBq0rHJEiO5AJOBuNiWaie2n8sQQ6ceK72pU1IbIntPsztY/EFKP6x009wjmiLoifsVEGNP1kxLgFOnvCmlGjTIyGsqse5UsVt8HZs2jHK8xkkedTehuDNxtI=
# SAUCE_ACCESS_KEY
- secure: "QFvZbXLlQSdvPTGg8U4qPb/HREYXdpZZaqrZl0ab4f/w2WFPf9hS1aS/S5IG7HxdR4ie3eQZOQm/9Tj37dT9C4LAMiFGdt3awRKmgqoQmse2oKZsbv1HwamPbYkQQG3/UP/xVygk2Dt4IyikrRAYk1gTyFtWv23M9yMAn0+8Qxk="
cache:
directories:
- "/tmp/qx*"
before_install:
- gem install sass -v 3.4.20
install:
- .travis/prepare_npm
- cd framework
stages:
- name: Lint-and-Coverage
- name: Local-Browser-Tests
- name: SL-Brower-Tests
if: repo = qooxdoo/qooxdoo AND (NOT type IN (pull_request))
- name: Deploy
if: repo = qooxdoo/qooxdoo AND (NOT type IN (pull_request)) AND ( branch = master OR tag =~ ^v[0-9] )
jobs:
include:
- stage: Lint-and-Coverage
name: Lint
script: ../.travis/lint
- # parallel
name: Coverage
script: ../.travis/coverage
- stage: Local-Browser-Tests
name: Firefox
script: ../.travis/test Firefox
- # parallel
name: Chrome
script: ../.travis/test Chrome_travis_ci
- stage: SL-Brower-Tests
name: SL Chrome
script: ../.travis/test ChromeSL,ChromeBetaSL
- #
name: SL Firefox
script: ../.travis/test FirefoxSL
- #
name: SL Edge
script: ../.travis/test EdgeSL
- stage: Deploy
name: Deploy
script: ../.travis/deploy
- #
name: Deploy to npm
script: ../.travis/deploy_npm
before_deploy:
- export RELEASE_PKG_FILE=$(ls dist/*.zip)
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
deploy:
provider: releases
api_key: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
file_glob: true
file: "${RELEASE_PKG_FILE}"
skip_cleanup: true
on:
repo: qooxdoo/qooxdoo
tags: true