xLua - Lua C++ API

Check-in [507defb80c]
Login
Overview
Comment:Try to fully set up Kyua in Travis CI This is so that we can run the full test suite. Didn't want to do this yet, but yet, it's not that hard and we'll need this for running Kyua later on.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:507defb80cbdf1fbb216adf66680fd180930b87368008bc557b0bcf0853a6d3c
User & Date: jmmv@google.com 2014-08-02 02:24:32
Context
2014-08-03
20:01
Improvements to the Travis scripts Add missing license headers and attempt both root and non-root builds. check-in: 935e7012db user: julio@meroh.net tags: master, trunk
2014-08-02
02:24
Try to fully set up Kyua in Travis CI This is so that we can run the full test suite. Didn't want to do this yet, but yet, it's not that hard and we'll need this for running Kyua later on. check-in: 507defb80c user: jmmv@google.com tags: master, trunk
02:23
Allow "make check" to be run when kyua is missing Discovered while trying to setup Travis CI. check-in: dd98dc60f4 user: jmmv@google.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to admin/travis-install-deps.sh.

1
2
3
4
5
6

7








8
9

10








11

12
13
14
15





#! /bin/sh

set -e -x

sudo apt-get update -qq
sudo apt-get install -y doxygen liblua5.2-0 liblua5.2-dev pkg-config










wget --no-check-certificate \
    https://github.com/jmmv/atf/releases/download/atf-0.20/atf-0.20.tar.gz

tar -xzvf atf-0.20.tar.gz








( cd atf-0.20 && ./configure --prefix=/usr && make && sudo make install )


# TODO(jmmv): Should also install Kyua to be able to run the tests... but
# without a binary package available, the circular dependencies become hard
# to handle.










|
>

>
>
>
>
>
>
>
>
|
<
>
|
>
>
>
>
>
>
>
>
|
>
|
<
<
<
>
>
>
>
>
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
#! /bin/sh

set -e -x

sudo apt-get update -qq
sudo apt-get install -y doxygen liblua5.2-0 liblua5.2-dev \
    libsqlite3-0 libsqlite3-dev pkg-config sqlite3

install_from_github() {
    local project="${1}"; shift
    local name="${1}"; shift
    local release="${1}"; shift

    local distname="${name}-${release}"

    local baseurl="https://github.com/jmmv/${project}"
    wget --no-check-certificate \

        "${baseurl}/releases/download/${distname}/${distname}.tar.gz"
    tar -xzvf "${distname}.tar.gz"

    cd "${distname}"
    ./configure \
        --disable-developer \
        --prefix=/usr \
        --without-atf \
        --without-doxygen
    make
    sudo make install
    cd -
}




install_from_github atf atf 0.20
install_from_github lutok lutok 0.4
install_from_github kyua kyua-testers 0.2
install_from_github kyua kyua-cli 0.8