Commit Graph

34 Commits

Author SHA1 Message Date
Chris Beams
9ec47d2292
Check bisq.asset.Asset sort order during CI
This check had been set up for some time in the original
bisq-network/bisq-assets repository.
2018-09-13 08:06:37 +02:00
Chris Beams
917d27da6b
Revert "Enable Travis CI Gradle dependency caching"
This reverts commit 92ec88f1fc.
2018-04-05 10:59:01 +02:00
Chris Beams
92ec88f1fc
Enable Travis CI Gradle dependency caching
Per https://docs.travis-ci.com/user/languages/java/#Caching
2018-03-22 11:27:51 +01:00
Chris Beams
fb12bbf119
Fix syntax error in Travis CI config 2018-03-15 09:26:26 +01:00
Chris Beams
e8048b8ae1
Reduce Travis CI Slack notification frequency
Per https://docs.travis-ci.com/user/notifications/#Configuring-Slack-notifications
the default setting for Travis Slack notifications is to send a message
on every successful build. This commit changes this frequency, such that
notifications are always sent when builds fail and only sent when builds succeed
after a previous failure.
2018-03-15 08:44:19 +01:00
Chris Beams
6cef0ffb94
Update Travis CI Slack notification config
The configuration was still set up to send notifications to #bisq-core.
Now it will send them to #bisq-desktop.
2018-03-10 22:05:38 +01:00
Chris Beams
ed0148bfee
Enable running tests in Travis CI
This change removes the custom `script` command, falling back to Travis
CI's default Maven script command, which, per [1] is:

    mvn test -B

The effect is that tests should now be run, which is particularly useful
for incoming pull requests.

See https://github.com/bisq-network/exchange/pull/1309#issuecomment-363776458
for context.

[1]: https://docs.travis-ci.com/user/languages/java/#Maven-Default-Script-Command
2018-02-08 13:30:54 +01:00
Chris Beams
ae05c015b9
Consume custom bitcoinj/libdojh/btcd deps via JitPack (#899)
This change removes the need to clone and build bisq's forks of
bitcoinj, libdohj and btcd-cli4j in order to build bisq itself.
2017-08-09 12:13:47 +02:00
Chris Beams
3f19fe3065
Send Travis success notifications to Slack only on status change (#898)
Previously every successful build was triggering a notification to be
sent to Slack, and this is too noisy.
2017-08-09 10:27:10 +02:00
Chris Beams
145bce6bf3
Send Travis CI notifications to Slack (#898)
Per instructions at
https://docs.travis-ci.com/user/notifications#Configuring-slack-notifications
2017-08-09 10:08:42 +02:00
Chris Beams
9c0469eb7e
Polish .travis.yml formatting 2017-08-09 10:08:42 +02:00
Chris Beams
f7a8fd19f0
Remove commented-out Travis IRC notification config 2017-08-09 10:08:42 +02:00
cedric.walter
46aaa7c51e switch off again tests 2017-07-10 20:17:02 +02:00
cedric.walter
3b78932866 activating tests 2017-07-06 23:08:14 +02:00
cedric.walter
576956b588 also now building bitsquare main code 2017-07-06 23:03:18 +02:00
cedric.walter
8760a86a2d added code to build dependent projects using travis install capabilities 2017-07-06 22:59:31 +02:00
cedric.walter
eb675d811e changed maven phase to test 2017-07-06 22:44:31 +02:00
cedric.walter
b193c25da4 added code to fix travis build 2017-07-06 22:38:23 +02:00
Manfred Karrer
4d82467fa3 deactivate travis as it does not work anymore with javaFX 2015-11-03 17:28:04 +01:00
Manfred Karrer
b906aa18a5 revert to old travis file (sudo) 2015-11-03 16:45:18 +01:00
Manfred Karrer
c7d980d258 update travis 2015-11-03 16:33:13 +01:00
Manfred Karrer
716c367a54 update travis, ignore failing test (which works locally) 2015-11-03 15:46:11 +01:00
Manfred Karrer
93c79af125 Update travis file for IRC notifications 2015-05-05 03:32:43 +02:00
Manfred Karrer
e9c9834733 Add travis file 2015-05-05 03:05:15 +02:00
Manfred Karrer
6b4f528f47 UpdateFX with maven build (tested only on mac) 2015-02-27 23:47:23 +01:00
Chris Beams
c5809a97d8
Use Xvfb to avoid 'cannot open display' warnings
Builds began failing on Travis CI with the following message:

    Gtk-WARNING **: cannot open display:

This is because of tests like ViewLoaderTest, which now initialize the
JavaFX toolkit and expect a display in the process. This change starts
an Xvfb server (conveniently already available under Travis CI) in order
to provide a lightweight X11 environment and eliminate this problem.
2014-11-05 01:41:14 +01:00
Chris Beams
093759a21d Revert "Work around outdated OracleJDK8 on Travis CI server"
This reverts commit 153eb5326b, removing
now that Travis CI is running 8u25 by default. See
http://blog.travis-ci.com/2014-10-30-november--build-environment-updates
2014-11-05 00:51:22 +01:00
Chris Beams
43cf337fe4
Support code coverage using JaCoCo and Coveralls
The Gradle build now supports generating code coverage reports using
JaCoCo. The reports can be run with:

    ./gradle jacocoTestReport

and then view the HTML output at:

    build/reports/jacoco/test/html/index.html

The bitsquare repository has now also been registered with a (free)
account at http://coveralls.io. Our Travis CI configuration has been
updated to publish JaCoCo XML test report data to coveralls.io, which
results in the reports found at:

 - https://coveralls.io/r/bitsquare/bitsquare

For more information on the JaCoCo and Coveralls Gradle plugins, see:

 - http://www.gradle.org/docs/current/userguide/jacoco_plugin.html
 - https://github.com/kt3k/coveralls-gradle-plugin
2014-11-03 13:56:14 +01:00
Chris Beams
153eb5326b
Work around outdated OracleJDK8 on Travis CI server
The Gradle JavaFX plugin requires Oracle JDK 8u20 or better. Travis CI
currently runs something older, and does not have a roadmap for
upgrading. This commit instructs the Travis CI VM to install JDK 8u20
via `apt` prior to actually beginning the build.

See #66
2014-10-03 18:35:58 +02:00
Chris Beams
2a4f6bc5ea
Update Travis IRC notifications
- Send notifications to #bitsquare instead of #bitsquare.io
 - Skip join to cut down on noise (now that -n flag has been removed)
 - Only notify on failures and first success

See #86
2014-09-29 10:38:07 +02:00
Chris Beams
5799381658
Fix typo in Travis IRC notification template
See #86
2014-09-29 10:05:04 +02:00
Chris Beams
a4a433fa64
Set skip_join to false in Travis IRC config
Per http://docs.travis-ci.com/user/notifications/#IRC-notification.

Bypassing joining the room cuts down on login/logout noise in the IRC
channel. But because #bitsquare.io currently has the -n flag set we
need to explicitly log in.

See #86
2014-09-29 09:53:17 +02:00
Chris Beams
fa6d916296
Publish CI build notifications to IRC
See #86
2014-09-29 09:43:05 +02:00
Chris Beams
c744fa21df
Enable Travis CI build
Per instructions at http://docs.travis-ci.com/user/getting-started.
See https://travis-ci.org/bitsquare/bitsquare

Resolves #86
2014-09-29 09:28:11 +02:00