toxon
/
lita-tox
Archived
1
0
Fork 0

Build submodules in Travis CI

This commit is contained in:
Braiden Vasco 2017-07-20 19:19:51 +00:00
parent a2e1554aae
commit ea4a78054b
4 changed files with 38 additions and 6 deletions

1
.gitignore vendored
View File

@ -16,7 +16,6 @@ Makefile
## Specific to RubyMotion: ## Specific to RubyMotion:
.dat* .dat*
.repl_history .repl_history
build/
## Documentation cache and generated files: ## Documentation cache and generated files:
/.yardoc/ /.yardoc/

View File

@ -4,11 +4,22 @@ rvm:
- 2.0 - 2.0
- 2.1 - 2.1
- 2.2 - 2.2
- 2.3
script: bundle exec rake - 2.4
before_install:
- gem update --system
services: services:
- redis-server - redis-server
before_install:
- sudo apt-get update
- sudo apt-get install -y build-essential libtool autotools-dev automake checkinstall check git yasm
- sudo ./bin/build/libsodium
- sudo ./bin/build/libtoxcore
- sudo mkdir -p '/etc/ld.so.conf.d/'
- echo '/usr/local/lib/' | sudo tee -a '/etc/ld.so.conf.d/locallib.conf'
- sudo ldconfig
before_script:
- rake compile

11
bin/build/libsodium Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx
pushd 'vendor/libsodium'
./autogen.sh
./configure
make install
popd

11
bin/build/libtoxcore Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx
pushd 'vendor/libtoxcore'
autoreconf -i
./configure
make install
popd