Commit graph

153 commits

Author SHA1 Message Date
Riccardo Schirone
aaea46bdbc Set bin_obj on bios_bin load_buffer method (#14188) 2019-05-30 12:56:04 +02:00
Riccardo Schirone
9b61404006 Fix .travis to build release/prereleases branches too 2019-03-26 08:24:00 +01:00
Riccardo Schirone
afae8b6e34
Prerelease travis release (#13189)
* Add additional tests for release/prereleases
* Test different plugins configurations
* Add some libraries to docker image
* Disable SYS_CAPSTONE for now because there is only 3.0.5
* Fix html magic file to respect libmagic's format too

< can be used with string so it should be escaped if we want to match
the exact string "<html>"

* Use plugin License when printing rasm2 plugins in JSON format
* Build with system capstone, but do not run tests because they would fail
* Fix tiny plugins file to use xtr_fatmach0 instead of just fatmach0
* Use clang to compile with ASAN
* Use b_lundef=false
* Just test if different plugins configuration build, no r2r
* Use sys openssl as well
2019-02-28 16:58:09 +01:00
Florian Märkl
e7b971d2b9 Enable Travis only on master 2019-02-06 20:05:58 +01:00
Florian Märkl
4a5dafed29 Use Homebrew Addon in Travis 2019-01-09 19:28:20 +01:00
Maijin
1f5b3eb6d3
Add cabextract in OSX build ##Travis
Add cabextract in OSX build ##Travis
2019-01-05 11:49:46 +01:00
Riccardo Schirone
287d9df648 travis: R2_ASSERT_STDOUT should go in CFLAGS 2018-10-29 17:16:35 +01:00
Riccardo Schirone
3d5fac61f6 assert: use R2_ASSERT_STDOUT instead of ASSERT_STDOUT
In this way Travis script (travis-extract-var.sh) will automatically
pass the var to the docker container. Also, it makes the macro name more
consistent with all the others.
2018-10-29 16:01:26 +01:00
Riccardo Schirone
6080edf13b
Fix r_log when used for r_assert (#11971)
- Split r_log in r_vlog/r_log and make r_assert_log use r_vlog because it
needs to provide a va_list.
- Rename _r_internal_logging to r_log because that's a R_API function
and it needs a good name
- Make R2_CHECKS_LEVEL dependent on 'buildtype' option
- Make R_LOGLVL_WARN the default log level when in debug mode (default)
- introduce ASSERT_STDOUT macro to print assert failures to stdout
- use ASSERT_STDOUT in the Travis env with asan
- use list of callbacks in RLog instead of just one.
2018-10-29 11:48:12 +01:00
pancake
a604c5bfff Git clone in quiet mode to shrink travis logs 2018-10-06 04:12:38 +02:00
Florian Märkl
c05c85aa9f Reimplement TCP Server with libuv and add configure/meson flags (#11403) 2018-09-17 12:07:00 +02:00
Riccardo Schirone
08f8e48ca1 Coverage codecov (#11494)
* travis: just merge linux/meson build with coverage one

* update travis.yml and extract-var

* change a bit call to codecov.sh

* switch to ubuntu:bionic

* fix docker.travis

* fix LD_LIBRARY_PATH

* Dockerfile.travis: add pkg-config

* Dockerfile.travis: install npm

* dockerfile.travis: somehow pkg-config was removed

* travis: switch back to latest

* travis: do not hardcode machine

* move COVERAGE=1 after INSTALL_SYSTEM
2018-09-12 18:24:19 +08:00
Riccardo Schirone
7936da85fd
enable codecov.io (#11279)
* enable codecov.io
2018-09-03 18:05:29 +02:00
Riccardo Schirone
c932d1abff
meson fixes (#10743)
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
Riccardo Schirone
b522c022c6
travis improvements (#10699)
* build with ASAN only on push events, when branch starts with `asan-` or when tag starts with `release`
* fast_finish: do not wait for allowed_failures entries in the matrix
2018-07-12 09:01:50 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Riccardo Schirone
c1c4313f13
travis.yml: docker doesn't seem to support newlines and quoted envs (#10650)
* travis: need to export vars
* travis: pass lsan options too
2018-07-08 00:15:51 +02:00
Riccardo Schirone
ed73ea036c travis.yml: try to run ASAN on travis (#10645)
* fixing travis with docker. Env vars weren't passed to docker, so it was compiling always in the same way and not with clang/gcc
* replacing damo22/r2-travis with radareorg/r2-travis
* introduce an ASAN build on travis
2018-07-06 23:35:55 +02:00
Damien Zammit
4897b9d089 travis: Switch on pulling from docker hub with fallback that builds image 2018-06-25 01:03:05 +02:00
Damien Zammit
6400570fe2 travis: Put back OSX && linux clang builds
- Pulling linux gcc/clang build deps are now dockerized
2018-06-25 01:03:05 +02:00
Damien Zammit
8b3a577992 travis: Dockerise build deps to speed up end-to-end test (#10429) 2018-06-22 13:18:30 +02:00
pancake
3051005034 Fix yaml syntax 2018-05-16 11:12:18 +02:00
pancake
32197d8567 Fix travis 2018-05-16 11:01:48 +02:00
pancake
de6800716a Do not use non-radare r2r when branch is master 2018-05-16 10:17:21 +02:00
pancake
484017f5f7 Bump nodejs version 2018-04-26 16:57:25 +02:00
Giuseppe
9a3fe466fd Fix travis build error (#9537)
Trying to clone user branch of
radare2-regression was failing when user
didn't push test, but that should still
exit with status 0 or travis will mark
the build as failing.
2018-02-28 14:15:29 +01:00
Riccardo Schirone
8000d18125 Test PRs with radare2-regressions PRs (#9515) 2018-02-27 22:26:54 +01:00
Giuseppe
f29dfd6229 Make travis script show used r2r HEAD (#9472) 2018-02-23 16:08:45 +01:00
xarkes
0b141fa26f Fix travis cfg (node now in make -k all) (#8269)
* Fix travis cfg (node now in make -k all)

* Added unit_tests to make all
2017-08-22 14:40:01 +02:00
Anton Kochkov
494bbde4bd Ubuntu Trusty for Travis 2017-06-17 21:32:38 -04:00
pancake
fbc3a68a64 Use g++4.8 in Travis to fix syspipe build to run r2r.js properly 2017-04-19 23:39:45 +02:00
Maijin
6a4423f255 Use NodeJS 7 in travis 2017-03-21 19:17:58 +01:00
Maijin
b702d6c553 Change travis for new testsuite 2017-03-21 19:13:51 +01:00
Maijin
c7f9d1eddf Add the new testsuite 2017-03-21 18:52:03 +01:00
Maijin
c959aa0fa0 Add jq in travis.yml 2016-11-18 20:28:36 +01:00
pancake
e9bd690aa5 Remove bashisms from travis.yml 2016-08-14 14:39:35 +02:00
Maijin
08912e2e67 Temporary disconnect coveralls 2016-08-13 23:18:00 -04:00
Jeffrey Crowell
e90668c429 use kcov with unit tests 2016-06-18 14:59:59 -04:00
Jeffrey Crowell
59303f16b5 export PKG_CONFIG_PATH in .travis.yml 2016-06-18 00:22:33 -04:00
Jeffrey Crowell
c85a6dd9a3 reenable unit tests now that they link properly 2016-06-09 15:31:39 +00:00
Jeffrey Crowell
bfe3debc50 disable unit tests for now... 2016-06-09 00:31:23 -04:00
pancake
8c23971fb6 Add binutils in travis sandbox for x86.as 2015-12-08 22:20:12 +01:00
jvoisin
fc8d6cf5e2 Improves travis-ci build time
- Compilation is cached with ccache
- Apt packages are cached too
- Make uses the `-j2` flag since the container has 2 cores
2015-11-28 00:12:25 +01:00
pancake
b2e6111070 Use NOREPORT in travis r2r 2015-11-17 01:50:53 +01:00
pancake
0fdae7223a Do not show OKs in tests + minor code cleanup 2015-11-05 02:07:35 +01:00
Maijin
8428c13773 Update .travis.yml 2015-10-19 23:37:42 +02:00
Maijin
614a87a96b Add VERBOSE=1 2015-10-14 16:01:23 +02:00
Maijin
16d9f68e82 Update .travis.yml 2015-10-12 19:10:25 +02:00
Maijin
1305a8a884 Updated TravisCI, removed gcc/osx build @crowell
Updated TravisCI, removed gcc/osx build @crowell
2015-10-11 00:55:07 +02:00
Jeffrey Crowell
1678024b72 readd unit tests to travis 2015-10-10 18:26:06 -04:00
Maijin
1c32ff7028 Change travis build system 2015-10-11 00:08:47 +02:00
Maijin
9df151f413 Update .travis.yml 2015-10-10 21:10:37 +02:00
Jeffrey Crowell
95d834cf4e fixup travis for unit test 2015-10-10 14:33:34 -04:00
Jeffrey Crowell
dca8284b42 add unit tests to travis 2015-10-10 14:02:01 -04:00
Maijin
315cc004f9 Update .travis.yml 2015-08-28 23:48:23 +02:00
Maijin
21f1e2350b Update .travis.yml 2015-08-28 23:34:49 +02:00
Maijin
07196f3303 Update .travis.yml 2015-08-28 23:29:46 +02:00
Maijin
ec30b5151b Update .travis.yml 2015-08-28 23:27:28 +02:00
Maijin
d9acf0b7f6 Update .travis.yml 2015-08-28 23:07:58 +02:00
Maijin
51f875467a cpp-coveralls 2015-08-28 22:53:35 +02:00
Maijin
3b1f83f2ba Add coveralls
Add coveralls
2015-08-28 16:12:38 +02:00
Maijin
3f837f0dc6 Add coveralls
Add coveralls
2015-08-28 16:03:13 +02:00
Maijin
29a6b4b4c7 Add coveralls
Add coveralls
2015-08-28 16:01:33 +02:00
Maijin
edd4f4f9b0 Release the fuzzed tests
Release the fuzzed tests
2015-05-23 19:17:32 +02:00
Maijin
2d89ed8115 Update .travis.yml 2015-05-13 01:18:55 +02:00
Maijin
3fcf29f021 Update .travis.yml 2015-04-17 19:14:18 +02:00
Maijin
b0d991e2f3 format.others 2015-04-17 19:00:09 +02:00
Maijin
df71c0eadc Update .travis.yml 2015-04-15 00:47:16 +02:00
Maijin
e38ad895c0 format.pdb
format.pdb
2015-04-15 00:37:24 +02:00
Maijin
bf7deda0eb Enable asm.x86 in TRAVIS
Enable asm.x86 in TRAVIS
2015-04-14 21:23:59 +02:00
Maijin
500dac803d Add IO tests
Add IO tests
2015-04-09 01:13:12 +02:00
Maijin
adc080814e Update .travis.yml 2015-04-09 00:49:37 +02:00
Maijin
8111529f1a Update .travis.yml 2015-04-07 12:57:10 +02:00
Maijin
5d737096f8 [skip ci]
[skip ci]
2015-04-06 13:34:59 +02:00
Maijin
697e27cf4d dbg.linux
dbg.linux
2015-04-06 13:21:02 +02:00
Maijin
4ebe78c9a7 Update .travis.yml 2015-04-04 17:12:04 +02:00
Maijin
3bc7c38a52 Enable asm.arm
Enable asm.arm
2015-04-04 17:04:46 +02:00
Maijin
5fde01a957 Enable anal.arm
Enable anal.arm
2015-04-04 17:01:41 +02:00
Maijin
73e290080e Update .travis.yml 2015-04-04 16:33:24 +02:00
Maijin
031988a981 Update .travis.yml 2015-04-04 15:41:29 +02:00
Maijin
ae09f7eb57 Update .travis.yml 2015-04-04 15:22:24 +02:00
Aaron Puchert
c610d88bc2 New try: export and use ${TRAVIS_BUILD_DIR} 2015-04-03 17:00:00 +02:00
Aaron Puchert
49e45f41e9 Concatenate script for Travis
Travis seems to open a new terminal for every line to execute.
2015-04-03 16:23:46 +02:00
Aaron Puchert
732e9f27cc Use APT addon on Travis
This enables builds on container-based infrastructure.
2015-04-03 15:41:48 +02:00
Maijin
41886684c5 Update .travis.yml 2015-04-03 13:54:37 +02:00
Maijin
61772d6ad3 Update .travis.yml 2015-04-03 13:27:45 +02:00
Maijin
0d13948668 Re-enable tools tests
Re-enable tools tests
2015-04-03 10:45:11 +02:00
Maijin
a8c70fbc63 Re-Activate z80 tests
Re-Activate z80 tests
2015-04-03 00:34:38 +02:00
Maijin
b6cac8fc84 Update .travis.yml 2015-04-01 15:40:44 +02:00
Maijin
926b7a28b8 Update .travis.yml 2015-04-01 15:13:21 +02:00
Maijin
6eedf43dbe Update .travis.yml 2015-04-01 13:49:16 +02:00
Maijin
6154fe67e1 Update .travis.yml 2015-04-01 12:55:08 +02:00
Maijin
c5bdc01a8a Oops, Added formats+Analysis
Oops, Added formats+Analysis
2015-04-01 12:45:17 +02:00
Maijin
71e38003b1 Update .travis.yml 2015-04-01 12:42:41 +02:00
pancake
ade2945617 Hide build output in travis 2015-04-01 04:17:19 +02:00
Maijin
54e7559ea6 Update .travis.yml 2015-03-30 22:33:19 +02:00
Maijin
0fa56d40af Update .travis.yml 2015-03-30 22:29:02 +02:00
Maijin
6612a3e796 Temporary remove clang 2015-03-30 17:29:35 +02:00
Maijin
5da75e7a62 Add t.esil
Add t.esil
2015-03-29 15:19:26 +02:00
Jonathan Neuschäfer
0a520aba6c .travis.yml: update to handle the new r2r exit codes 2014-08-11 02:17:13 +02:00