forked from brave/brave-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 1.03 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
language: cpp
compiler: gcc
sudo: require
dist: trusty
install:
- sudo apt-get -y install build-essential libgnome-keyring-dev python-setuptools npm
- sudo npm i -g npm # Update node.js; needed?
script:
# Build prerequisites
- npm install
# Build Chromium
- npm run init
- ./src/build/install-build-deps.sh
# Build Brave
- npm run build Release
# TODO: Move to appdir/ and create valid AppDir structure
- exit 0
- find appdir/
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
# export VERSION=... # linuxdeployqt uses this for naming the file
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Brave*.AppImage*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/