that lovely final touch

26 views
Skip to first unread message

Adam Lev-Libfeld

unread,
Nov 25, 2016, 11:57:13 AM11/25/16
to redis-mo...@googlegroups.com
So guys, to end this fine Hack-a-ton (tudoom..doodum..pshh) except this humble gift of TravisCI conf for your repo, just throw it in your root and make sure you have a `make test` (or just point it to the right .so and test files).

This yml spins up a module enables redis instance with you module, installs py-redis and runs your tests.

Itamar Haber

unread,
Nov 25, 2016, 12:06:49 PM11/25/16
to Adam Lev-Libfeld, redis-mo...@googlegroups.com
Nice touch, thanks Adam!

--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-devs+unsubscribe@googlegroups.com.
To post to this group, send email to redis-module-devs@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CAJ7N2ZDmQgKzVo8U1YZh6w33w1VO3KSj1cRvoK7RQhYv77C7Uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Chief Developer Advocate
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber

Blog  |  Twitter  |  LinkedIn


Noam Sagi

unread,
Nov 27, 2016, 2:44:52 PM11/27/16
to Itamar Haber, Adam Lev-Libfeld, redis-mo...@googlegroups.com
Hi,

I'm not sure I understood. I already have tests that I run from redis-cli, using TS.TEST.

How do I run it using 'make test'?

Thanks,
Noam

‫בתאריך יום ו׳, 25 בנוב׳ 2016 ב-19:06 מאת ‪Itamar Haber‬‏ <‪ita...@redislabs.com‬‏>:‬
Nice touch, thanks Adam!

On Fri, Nov 25, 2016 at 6:57 PM, Adam Lev-Libfeld <ad...@tamarlabs.com> wrote:
So guys, to end this fine Hack-a-ton (tudoom..doodum..pshh) except this humble gift of TravisCI conf for your repo, just throw it in your root and make sure you have a `make test` (or just point it to the right .so and test files).

This yml spins up a module enables redis instance with you module, installs py-redis and runs your tests.

--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-d...@googlegroups.com.
To post to this group, send email to redis-mo...@googlegroups.com.
--

Itamar Haber | Chief Developer Advocate
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber

Blog  |  Twitter  |  LinkedIn


--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-d...@googlegroups.com.
To post to this group, send email to redis-mo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CAFWLiehr_4vD-%3DOba78qx0UwLPsRMH3eKWnE%2BD82Hf00n396Xg%40mail.gmail.com.

Adam Lev-Libfeld

unread,
Nov 27, 2016, 3:29:57 PM11/27/16
to Noam Sagi, Itamar Haber, redis-mo...@googlegroups.com

You can either add a rule to the Makefile named test and put
echo "TV. TEST" | redis-cli

Or you can just replace the line in the yml with some other one liner that will run the test (the one from above is just one option)


On Nov 27, 2016 9:44 PM, "Noam Sagi" <sagi...@gmail.com> wrote:
Hi,

I'm not sure I understood. I already have tests that I run from redis-cli, using TS.TEST.

How do I run it using 'make test'?

Thanks,
Noam

‫בתאריך יום ו׳, 25 בנוב׳ 2016 ב-19:06 מאת ‪Itamar Haber‬‏ <‪ita...@redislabs.com‬‏>:‬
Nice touch, thanks Adam!

On Fri, Nov 25, 2016 at 6:57 PM, Adam Lev-Libfeld <ad...@tamarlabs.com> wrote:
So guys, to end this fine Hack-a-ton (tudoom..doodum..pshh) except this humble gift of TravisCI conf for your repo, just throw it in your root and make sure you have a `make test` (or just point it to the right .so and test files).

This yml spins up a module enables redis instance with you module, installs py-redis and runs your tests.

--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-devs+unsubscribe@googlegroups.com.
To post to this group, send email to redis-module-devs@googlegroups.com.
--

Itamar Haber | Chief Developer Advocate
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber

Blog  |  Twitter  |  LinkedIn


--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-devs+unsubscribe@googlegroups.com.
To post to this group, send email to redis-module-devs@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-devs+unsubscribe@googlegroups.com.
To post to this group, send email to redis-module-devs@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CAFSqODd6z_5U_SkV_B1CUB6kArudsfYzpFqQe2BWayVcvdk-qA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages