Commit a9a05e71 authored by Bruno Queiros's avatar Bruno Queiros 🐧

add travis files

parent 688dff06
sudo: required
services:
- docker
addons:
apt:
packages:
- realpath
install:
- docker pull ubuntu:bionic
- wget https://raw.githubusercontent.com/nomad-desktop/nxos-repository-util/master/nxos-repository-util.sh -O nxos-repository-util.sh
- chmod +x nxos-repository-util.sh
script:
- docker run --rm -v $(pwd)/:/build/ -w /build/ ubuntu:bionic /bin/bash travis-build.sh
branches:
only:
- master
- development
deploy:
- provider: script
script: ./source/nxos-repository-util.sh upload testing *.deb
skip_cleanup: true
on:
branch: master
- provider: script
script: ./source/nxos-repository-util.sh upload development *.deb
skip_cleanup: true
on:
branch: development
notifications:
email: false
slack: nitrux:LgpKKPnWky7IWShmzXsyVDWu
#!/bin/bash
apt-get --yes update
apt-get --yes install wget
### Add KDENeon Repository
echo 'deb http://archive.neon.kde.org/dev/stable/ bionic main' | tee /etc/apt/sources.list.d/neon-stable.list
wget -qO - 'http://archive.neon.kde.org/public.key' | apt-key add -
### Install Dependencies
apt-get --yes update
apt-get --yes dist-upgrade
apt-get --yes install devscripts lintian build-essential automake autotools-dev equivs qt5-default qtdeclarative5-dev qtquickcontrols2-5-dev qtwebengine5-dev cmake
mk-build-deps -i -t "apt-get --yes" -r
### Build Deb
mkdir source
mv ./* source/ # Hack for debuild
cd source
debuild -b -uc -us
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment