forked from paxtibi/jsonserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (27 loc) · 1.23 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: generic
sudo: required
dist: trusty
os:
- linux
env:
global:
- DISPLAY=:99.0
before_install:
- Xvfb $DISPLAY &
- wget "https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.8.4/fpc_3.0.4-3_amd64.deb/download" -O fpc_3.0.4-3_amd64.deb
- wget "https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.8.4/fpc-src_3.0.4-2_amd64.deb/download" -O fpc-src_3.0.4-2_amd64.deb
- wget "https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.8.4/lazarus-project_1.8.4-0_amd64.deb/download" -O lazarus-project_1.8.4-0_amd64.deb
- ls -lap
install:
- sudo apt-get install libgtk2.0-dev
- sudo dpkg -i *.deb
script:
- git clone https://github.com/paxtibi/paxjson.git packages/paxjson
- git clone https://github.com/paxtibi/paxlogging.git packages/paxlogging
- git clone https://github.com/paxtibi/paxhttp.git packages/paxhttp
- lazbuild --add-package packages/paxhttp/pck/paxhttp_package.lpk packages/paxjson/pck/paxjson_package.lpk packages/paxlogging/pck/paxlogging_package.lpk
- lazbuild pck/jsonserver.lpi
notifications:
email:
on_success: false
on_failure: change