Commit Graph

132 Commits

Author SHA1 Message Date
Riccardo Schirone 6304c2db95
Allow to run travis jobs if special branch names are used (#16476) 2020-04-08 14:03:26 +02:00
Riccardo Schirone 34026f7b4a
Remove some travis builds as there are already GH actions (#16467) 2020-04-08 11:36:40 +08:00
Florian Märkl cb5de70924
Remove nvm from macOS Travis (#16437) 2020-04-06 20:57:52 +08:00
pancake 775f2b3d8d Fix wasm target 2020-04-03 00:37:08 +02:00
pancake ce56541912 oops 2020-04-02 23:55:27 +02:00
pancake 2aeac9e688 Add the WASM travis task 2020-04-02 23:54:18 +02:00
radare 5a1df188f6
Build fixes to make emscripten builds happy (#16406) ##build 2020-04-02 17:52:03 +02:00
Khairul Azhar Kasmiran 5b8f462277
Complete #16320 (#16328) 2020-03-27 14:43:53 +01:00
Anton Kochkov 3601cfad49
Build *.deb packages only for master branch (#16320) ##build 2020-03-27 02:02:51 +01:00
radare b27910c330
Run sys/static in the Debian task ##build (#16198) 2020-03-20 22:03:52 +01:00
Anton Kochkov 432f737f10
Fix Travis YAML warnings (#16089) 2020-03-02 17:25:37 +08:00
pancake b9ffdc2da0 Simplify travis oneliner 2020-02-25 02:36:39 +01:00
Khairul Azhar Kasmiran 98f057d77c
Unstick Travis by using compgen instead (#16025) 2020-02-22 21:24:04 +01:00
pancake f6ea22f83b Fix macOS upload 2020-02-22 01:35:11 +01:00
radare 213bfb622c
Try to fix the macOS build (#16013) 2020-02-21 08:20:43 +01:00
pancake 60d529a295 Upload macOS pkg builds 2020-02-20 12:55:00 +01:00
radare 40016f7727
Build debian package in CI ##build (#15997) 2020-02-20 00:37:30 +01:00
Riccardo Schirone 65d959f299
Run a travis job that uses the radare2-shell-parser (#15879)
* Run a travis job to use the radare2-shell-parser
* radare2-shell-parser: add support for grep_commands, pipes, and others
2020-01-23 09:10:28 +01:00
Anton Kochkov 43196a6fc2
Try to test with PowerPC and SystemZ (#15452) 2019-12-20 21:13:33 -06:00
Riccardo Schirone fd1f980eca Pass R2_CONFIG file to ! commands and serialize methods ##config 2019-12-16 23:23:17 +01:00
Florian Märkl ae61aa8e37
Imports Tests from radare2-regressions (#15546) 2019-12-08 15:31:14 +01:00
Khairul Azhar Kasmiran 184a67abac For utf-8 locale, check LC_ALL, LC_CTYPE and LANG in sequence instead (#15326) ##cons 2019-10-22 19:21:20 +02:00
pancake 44b7de0a13 Try to disable utf8 on mac/travis 2019-10-21 00:30:55 +02:00
pancake b890cf2e6a Remove useless irc notifications completely from the travis file 2019-10-10 15:00:45 +02:00
Anton Kochkov 2e620384a9
Disable Travis IRC notifications
Too much noise at IRC.
2019-08-30 13:58:57 +08:00
pancake 39d17d92bb Disable the fuzzit travis entry 2019-08-03 18:03:23 -07:00
Anton Kochkov c90f1443de
Disable FuzzIt for now 2019-08-03 21:19:06 +08:00
Riccardo Schirone 83f1fc0c55 Enable ASSERTS on all travis builds, to avoid confusion ##build 2019-06-27 23:05:05 +02:00
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