-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.travis.yml
More file actions
executable file
·31 lines (31 loc) · 725 Bytes
/
.travis.yml
File metadata and controls
executable file
·31 lines (31 loc) · 725 Bytes
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
language: cpp
sudo: required
dist: xenial
os:
- linux
- osx
osx_image: xcode9.4
notifications:
email: false
compiler:
- gcc
git:
submodules: true
depth: 1
deploy:
provider: releases
file_glob: true
skip_cleanup: true
api_key: $GH_TOKEN
file:
- textosaurus-build/src/textosaurus/textosaurus*.AppImage
- textosaurus-build/src/textosaurus/textosaurus*.7z
on:
tags: true
before_install: "./resources/scripts/.travis-before-install.sh"
install: true
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./resources/scripts/.travis-install-linux.sh
; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod +x ./resources/scripts/.travis-install-osx.sh && ./resources/scripts/.travis-install-osx.sh
; fi