Commit Graph

104 Commits

Author SHA1 Message Date
Yevgeny Pats 89585246cd Continuous Fuzzing Integration with Fuzzit ##build 2019-06-08 22:26:19 +02:00
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