forked from freebasic/fbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (27 loc) · 953 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
30
31
32
33
language: c
compiler: gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get -y install
gcc-multilib
libncurses5-dev libffi-dev libgpm-dev libcunit1-dev
libgl1-mesa-dev libglu1-mesa-dev
libx11-dev libxext-dev libxpm-dev libxrender-dev libxrandr-dev
install:
- set -e
- wget -O FreeBASIC-1.05.0-source-bootstrap.tar.xz https://github.com/freebasic/fbc/releases/download/1.05.0/FreeBASIC-1.05.0-source-bootstrap.tar.xz
- tar xf FreeBASIC-1.05.0-source-bootstrap.tar.xz
- cd FreeBASIC-1.05.0-source-bootstrap
- make -j4 bootstrap
- cd ..
script:
- set -e
- make -j4 FBC='FreeBASIC-1.05.0-source-bootstrap/bin/fbc -i FreeBASIC-1.05.0-source-bootstrap/inc' </dev/null
- mv bin/fbc bin/fbc1
- make -j4 clean-compiler
- make -j4 compiler FBC='bin/fbc1 -i inc' </dev/null
- rm bin/fbc1
- make cunit-tests </dev/null
- make log-tests </dev/null
- make warning-tests </dev/null
- make clean