Commit Graph

140 Commits

Author SHA1 Message Date
Guo Xiang Tan
273714efad DEV: Logs are collapsed on Travis so we shouldn't avoid logging.
Sending logs to oblivion makes it impossible to figure out when a
command fails.
2019-01-21 11:21:22 +08:00
Gerhard Schlager
4aa3992757
Fix Travis build
Travis doesn't provide the latest Rubygems yet and it doesn't make sense to use Bundler 2 until we've upgraded anyway.
2019-01-03 13:46:21 +01:00
Gerhard Schlager
cb9bee4153 Fix Travis build 2019-01-02 19:40:59 +01:00
Kyle Zhao
931480f7e3
DEV: run linter on Travis (#6595) 2018-11-12 14:39:58 -05:00
Sam
e50d0ba477 remove unsupported stuff from travis 2018-11-12 13:04:42 +11:00
Sam
bdc2757d58 Ruby 2.4 support is now dropped 2018-11-09 18:54:35 +11:00
David Taylor
bafe3cd99a Revert "DEV: Lint official plugins in CI (#6519)"
This reverts commit 093cab2db0.
2018-10-22 22:30:33 +01:00
David Taylor
093cab2db0
DEV: Lint official plugins in CI (#6519) 2018-10-22 21:28:38 +01:00
Guo Xiang Tan
1d2b48557c Run qunit test for wizard on Travis. 2018-10-09 16:11:13 +08:00
David Taylor
b8c0e77908 DEV: apply plugin migrations when testing in Travis and Docker
In `RAILS_ENV=test`, plugins are not loaded by default. Therefore we need to explicitly specify `LOAD_PLUGINS=1` when we want to apply plugin migrations.
2018-09-13 12:39:54 +01:00
Guo Xiang Tan
492b6dc306 DEV: yarn exec doesn't do what I think it does. 2018-08-30 15:55:36 +08:00
Guo Xiang Tan
83bf641292 Use yarn exec on Travis to ensure we use the right version. 2018-08-28 15:14:21 +08:00
Gerhard Schlager
c8c2bdda79 Travis should run linters only once 2018-08-01 13:55:24 +02:00
Joffrey JAFFEUX
9516d3de4b
removes rubocop from dangerfile for now (#6168)
This will be re-enabled once I can reproduce and fix errors using travis local docker build.
2018-07-24 18:10:02 -04:00
Joffrey JAFFEUX
29e612e86a
forces rubocop install in travis (#6167) 2018-07-24 17:51:53 -04:00
Joffrey JAFFEUX
9fff53407c
adds prettier to travis (#6154) 2018-07-24 10:27:45 -04:00
Joffrey JAFFEUX
b4a2f3fe2f
DEV: implementing danger for travis 2018-07-24 10:12:15 -04:00
Sam
7a77a3c1dd try a newer node 2018-06-26 17:56:44 +10:00
Sam
9757681707 try to set node version 2018-06-26 09:49:07 +10:00
Sam
96a938111c attempt to see if xenial gets us a new version of node 2018-06-26 09:49:07 +10:00
Guo Xiang Tan
725859ba43 DEV: Test discourse-group-track plugin on travis. 2018-06-01 23:43:43 +08:00
Sam Saffron
01da2a21bf xenial is not stable on travis 2018-05-30 18:45:09 +10:00
Guo Xiang Tan
77c99b6434 Fix condition in travis. 2018-05-30 14:05:16 +08:00
Sam
f0eeb59f9f update apt 2018-05-30 15:01:12 +10:00
Sam
a9eb6e7884 correct syntax 2018-05-30 14:45:33 +10:00
Sam
9444302067 try xenial for travis 2018-05-30 14:35:16 +10:00
Sam
b94ae29874 DEV: travis: don't output db migrate 2018-05-30 14:34:12 +10:00
Guo Xiang Tan
1fe6fd759f Move db migrate on Travis into install step.
This will allow us to collapse the migration logs.
2018-05-30 12:30:26 +08:00
Sam
77dc316e1b try to cache apt 2018-05-30 14:20:48 +10:00
Sam
00b6f5f21c DEV: log less in travis
UI becomes super slow if we log everything
2018-05-30 13:54:11 +10:00
Sam
7e8ef5d6e1 move back to pg 9.6 cause 10 is not working 2018-05-25 15:46:28 +10:00
Sam
69050f8a14 upgrade PG, remove malloc limit add larger method cache 2018-05-25 14:39:52 +10:00
Sam
6a01a371ee add a couple more branches 2018-05-24 12:48:51 +10:00
Sam
c684860b68 only build master in travis
no need to build any other branches
2018-05-24 12:46:41 +10:00
Sam
8407c210c1 DEV: Update our test matrix
We are preparing to drop support for Ruby 2.3
2018-05-21 14:31:30 +10:00
Guo Xiang Tan
d0353fb2f2 Run plugin specs for discourse-staff-notes on travis. 2018-04-23 09:26:33 +08:00
Guo Xiang Tan
463d6a057c Bump Qunit test timeout on Travis. 2018-03-20 10:24:44 +08:00
Guo Xiang Tan
2f54eab9a6 Running wrong type of plugin tests for qunit on travis. 2018-03-09 10:37:00 +08:00
Jan Suchal
bc56d86a63 Support ruby 2.5.0 2018-01-09 16:03:17 +01:00
Guo Xiang Tan
05df918b9f Allow 2.5 to fail on Travis while we add support for it. 2017-12-26 11:36:11 +08:00
Guo Xiang Tan
0cf826a2f0 Run Ruby tests with 2.5 on Travis. 2017-12-26 10:05:45 +08:00
Guo Xiang Tan
66aa8691ed Fix JS travis tests incorrectly passing. 2017-12-21 16:03:43 +08:00
Guo Xiang Tan
e5cc0f1358 Test discourse-patreon on Travis as well. 2017-12-21 15:47:36 +08:00
Guo Xiang Tan
ae75c19f4b Run core and plugin JS tests separately for now on Travis.
Plugin JS acceptance tests are randomly failing due to core tests.
2017-12-20 15:32:37 +08:00
Guo Xiang Tan
0a863dd031 Run JS test in chrome headless on Travis. 2017-12-15 12:29:45 +08:00
Guo Xiang Tan
a9cac72fb9 Try this instead to fix yarn on travis. 2017-12-14 12:45:55 +08:00
Guo Xiang Tan
ec6428d572 Fix bash error in travis file. 2017-12-14 12:30:28 +08:00
Guo Xiang Tan
ab9b1be714 Fix eslint on travis. 2017-12-14 12:17:19 +08:00
Guo Xiang Tan
cffe50f856 Run specs for discourse-assign. 2017-12-01 16:03:00 +08:00
Guo Xiang Tan
2c1ce283e8 Stop running tests for discourse-slack-official. 2017-10-10 16:11:19 +08:00