forked from texstudio-org/texstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (58 loc) · 3.42 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
language: cpp
matrix:
include:
- env: QT=qt5osx
os: osx
- env: QT=qt4
os: linux
- env: QT=qt5
os: linux
- env: QT=qt5NoPoppler
os: linux
- env: QT=qt5win
os: linux
dist: trusty
sudo: required
branches:
only:
- master
- "/^\\d+.\\d+(.\\d+)?(\\S*)?$/"
before_install:
- "${TRAVIS_BUILD_DIR}/travis-ci/get-dependencies.sh"
before_script:
- export DISPLAY=:99.0
- "${TRAVIS_BUILD_DIR}/travis-ci/configure.sh"
script:
- if [ $QT = qt5win ]; then PATH=$PATH:/usr/lib/mxe/usr/bin; fi
- make -j 2
- export QT_QPA_PLATFORM=minimal
- if [ $QT = qt5 ]; then ./texstudio --auto-tests; fi
after_success:
- "${TRAVIS_BUILD_DIR}/travis-ci/package.sh"
deploy:
- provider: bintray
skip_cleanup: true
file: ${TRAVIS_BUILD_DIR}/travis-ci/bintray.json
user: sunderme
on:
condition: -f ${TRAVIS_BUILD_DIR}/travis-ci/bintray.json
key:
secure: "a+wBb+wBfp+Ufsam08u98ycnYih3641Qwr1cm1G4BEOYinvLHrWPwQMEtIpGN+ohQ5/2fPC7ayY0F8aJQog6SZEsW3eZjg4eUYcm2gwubLnleke+hYSMqkdgE765lBbLjZW2hh6WLNLpS8chIyF1xhJPWCVS8FyKvcstqMVOgO9NUco/luzyO58oegq+Oz/C182/pKQ3jeqtU2GqOSRpQAF+MQnD1T2EDaAtS/+dcnI2E+HATVXhr6zZCxLmSayZFYrz9riSOUKNeugLU2T9ZPo275xM1OeCLCFWeGrosC5Hp3AnO5A7BWrmb5i7i4JZuFtNjDJIBJNbSEq2zLxp/stuu3MC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RAVIS_TAG}-${TRAVIS_OS_NAME}.dmg"
on:
tags: true
condition: -f "${TRAVIS_BUILD_DIR}/texstudio-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.dmg"
- provider: releases
skip_cleanup: true
api_key:
secure: DQEuiEzNzXF9EhGLmMN/SrDjinVJbMgdmEZtokY9ZPp+yLqTHcvdX4EfuzbVElz14dAOK2H4TBK2q+13ZjCzuvWdgbdb72M4lNOk7YcHmpxK4XuvhYxsY02QxO0zTHCqWhZGL87jrTlBWICEZCuvXAg7/FHry0HqSsukUmP6cCVeIB8q33+8GwOVPUjXF9kRf9UgogtFhIcS0TwwGezdngkhonxBJYgaEYgZRxMPts1Fb+7ifmtjbZwF2QUUYZQvp0dFeI8S0w0lQKP+gVxNY8CAYKnIJ/STFJA6tXCstpKL2EPjbOhgI34DYBTCg4+peFOOLbVpBlwhInOeaYF35VryjulpMsNM9LdJH9gXiSOHOr4vxnr2M4ijLssd+p2dCZ1oeG9kHfARupmtmKer8lbrPkHrD1QGiwEOnrIZqV0TrJvnXTlJDtbOJnB+43lCzsIHJ4WDTpREHq8p2XoVBljlcVac3Kl6MmY5LVNtbdwBxirWF8hheEh/K4Cxv9wzktsP20/M3wpk2VFf2qL9ZxjugtxoT92WRVuHtCvLN8Zp+ekHZuhik5ImJXvVOavCy76SpBbJhz1sSnbjM2pFy9F9dHzYkMAVEX2i1iHQJKSVl82YpaqW0QTUAdRcyRLL4KVQOYAPJp8Ne9kkRc/rhX1aVOY3kp1GzInAEAJ89vA=
file:
- "${TRAVIS_BUILD_DIR}/texstudio-${TRAVIS_TAG}-win-portable-qt5.zip"
on:
tags: true
condition: -f "${TRAVIS_BUILD_DIR}/texstudio-${TRAVIS_TAG}-win-portable-qt5.zip"