mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00

NOTE: it is not as easy as Windows to package an app on Linux. The portable package could NOT run on Linux. Just for reference here.
39 lines
1.6 KiB
YAML
39 lines
1.6 KiB
YAML
dist: trusty
|
|
sudo: required
|
|
git:
|
|
depth: 1
|
|
language: cpp
|
|
compiler: g++
|
|
env:
|
|
- version="1.0"
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-6
|
|
- g++-6
|
|
before_install:
|
|
- sudo apt-get -qq update
|
|
install:
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 100
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 100
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install
|
|
p7zip-full
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install
|
|
chrpath
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install
|
|
tree
|
|
before_script:
|
|
- chmod +x .travis_linux.sh
|
|
script:
|
|
- TAG_NAME=${TRAVIS_TAG} CXX="g++-6" CC="gcc-6" ./.travis_linux.sh
|
|
deploy:
|
|
provider: bintray
|
|
file: "./.linux_bintray.json"
|
|
user: tamlok
|
|
key:
|
|
secure: vADlrYSusARnHxK3NTT3r1r6I/lrxyEuFKLOO73KXl6rvDywrrDDi6YsFekL14/o3clZKLOC8LbvA+4BKPVSoGTO4Dpx/i51fXphf+mMFB3QXSGnbqHm4+2ZnhCl62vfVlFeOPBLDO0KUBI8DCP0I+QogOUickXv3zYx69z6AudSxgjY7nPoN5jGSPgyId4r3o8Shrj1Fk1WtN6qciKyPne57v+jmvRlJTkoEfYkvwTRNMBlmaKy8Vj/CSoIvB8TH8bv3rhHLrN4o1QCwePdaX9G7xlImSpXqgRgzQVU3SRFN2bYTj5DZc1aFyA7iNOhmwgCLAN6OrqXyyJCbyywNhylfgad2rQANcfXiZw9ywooKEYafLDRuiK2G6Pk8m+R6Ded9JBoX9MSz/ZDxxfk4NmLO991wS7IK5aFTQfHZz5W8Tmh1rCphFwlDI/Rxs7ExbXu7INA8IhoLpOSmLIA5lfdC4fD8rv8mjy5gfpMkWlP8XATfi2eMH9uGj89aJa6xp7Bc2mfW3M71YHtYP/pyE/7Bk5vVonP8Cq9rK6OruMIUYtNmXoJnpte20ecSXj9yw7oTR27dhSx3XuAKOXiNpIau0CPxtXA5cSm5X0OS1Lt8RWrms0jp9Ch2dgxlNMpr0soF9DmwekhfHnVoOLyFBWBMDwvkx5TWij9FNAAJb4=
|
|
dry-run: true
|
|
on: master
|