-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
29 lines (25 loc) · 836 Bytes
/
.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
sudo: required
language: generic
os: linux
before_install:
- sudo apt update
- sudo apt install realpath p7zip-full qemu-user-static
script:
- pushd ../
- git clone https://github.com/guysoft/CustomPiOS.git
- popd
- cd src/image
- wget -c 'https://downloads.raspberrypi.org/raspbian_lite_latest' -O 'latest-raspbian.zip'
- cd ../
- ../../CustomPiOS/src/update-custompios-paths
- sudo modprobe loop
- sudo bash ./build_dist
- wget https://github.com/probonopd/uploadtool/raw/master/upload.sh
after_success:
- if [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- zip -j minimal-kiosk-os-$(date +"%Y-%m-%d").zip workspace/*.img
- bash upload.sh *.zip
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/