-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
62 lines (59 loc) · 1.88 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: c
env:
- TRAVIS_TEST=1
#addons:
# apt:
# packages:
#Add FPC Package through 'apt' Package Manager
# - fpc
# - fp-utils
before_install:
# Show Location
- >
echo "USER: " $(whoami) ;
echo "HOME: '$HOME'" ;
pwd ;
ls -lah ;
# Download FPC Packages
- >
mkdir ../fpc_download && cd ../fpc_download ;
wget https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.10/fpc-laz_3.2.0-1_amd64.deb ;
wget https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.10/fpc-src_3.2.0-1_amd64.deb ;
pwd ;
ls -lah ;
sudo dpkg -i fpc-laz_3.2.0-1_amd64.deb && sudo dpkg -i fpc-src_3.2.0-1_amd64.deb ;
cd ../hash-lists ;
pwd ;
ls -lah ;
# List pre-installed FPC Packages
- >
echo "sh Shell: " $(which sh) ;
echo "bash Shell: " $(which bash) ;
echo "Installed FreePascal Compiler:" ;
fpc -h | sed -n 1,2p ;
dpkg --get-selections | grep -iE "(fpc?\-|lazarus)" | sort ;
echo "fpc Package:" ;
dpkg -s $(dpkg -S $(which fpc) | cut -d: -f1) ;
echo "RTL Directory:" ;
dpkg -L $(dpkg --get-selections | grep -iE "(fpc?\-|lazarus)" | grep -vi deinstall | awk '{print $1}' | tr "\n" " ") | grep -i "/rtl/" | grep -i makefile.fpc | grep -i linux;
# Clone epiktimer Project
- >
echo "Project 'epiktimer': cloning ..." ;
pwd ;
ls -lah ;
git clone https://github.com/graemeg/epiktimer.git ../epiktimer ;
ls -lahd ../epiktimer ;
ls -lah ../epiktimer ;
# Clone fptest Project
- >
echo "Project 'fptest': cloning ..." ;
pwd ;
ls -lah ;
git clone https://github.com/graemeg/fptest.git ../fptest ;
ls -lahd ../fptest ;
ls -lah ../fptest ;
# Create Compiling Directories
- >
echo "Compiling: Directories creating ..." ;
mkdir -p ./lib/x86_64-linux/ ;
mkdir -p ./tests/lib/x86_64-linux/ ;