-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (44 loc) · 1.24 KB
/
.travis.yml
File metadata and controls
46 lines (44 loc) · 1.24 KB
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
language: c
sudo: false
env:
TWESDK_ARCHIVE="TWESDK_201408-31_Linux"
TWESDK_URL="ftp://tocos-wireless.com/TWESDK_201408-31-2/${TWESDK_ARCHIVE}.tar.bz2"
TWESDK="${HOME}/${TWESDK_ARCHIVE}"
TWESDK_TOOLSDIR="${TWESDK}/Tools"
ATSHOME="${HOME}/ats-lang-anairiats-0.2.12"
ATSHOMERELOC="ATS-0.2.12"
PATSHOME="${HOME}/ATS-Postiats"
PATSHOMERELOC="${HOME}/ATS-Postiats-contrib"
PATH=${PATH}:${PATSHOME}/bin
cache:
directories:
- ${TWESDK}
addons:
apt:
packages:
- git
- ia32-libs
- ia32-libs-multiarch
- libgc-dev
- libgd2-xpm
- libgmp-dev
- make
- wget
before_install:
- cd ${HOME}
- export HAS_TC="test -d ${TWESDK_TOOLSDIR}"
- ${HAS_TC} || wget ${TWESDK_URL}
- ${HAS_TC} || tar xfj ${TWESDK_ARCHIVE}.tar.bz2
- ${HAS_TC} || mv TWESDK/* ${TWESDK}/
# Get ATS source code
- cd ${HOME}
- git clone https://github.com/githwxi/ATS-Postiats.git
- git clone https://github.com/githwxi/ATS-Postiats-contrib.git
# Build ATS1
- ${HOME}/ATS-Postiats/travis-ci/ats1_setup.sh 0.2.12
- cd ${ATSHOME} && ./configure && make
# Build ATS2
- cd ${PATSHOME} && make -f codegen/Makefile_atslib && make -f Makefile_devl src_depend && make -f Makefile_devl all
script:
- cd ${TRAVIS_BUILD_DIR}
- make