Commit Graph

120 Commits

Author SHA1 Message Date
Guo Xiang Tan
90802053a0 Fix linting on Travis for stable. 2018-08-30 16:04:56 +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
Guo Xiang Tan
606795ecea Update Ruby versions to test against on Travis. 2017-10-09 11:28:06 +08:00
Guo Xiang Tan
409cd72f5b Bump timeout for qunit tests on Travis. 2017-09-27 11:07:12 +08:00
Guo Xiang Tan
1043a2e99f Run specs for discourse-chat-integration as well. 2017-09-04 10:47:42 +08:00
Guo Xiang Tan
531cbc77c6 Run lint in a parallel job on Travis. 2017-08-18 15:25:59 +09:00
David Taylor
ea032d8372 Improve source code linting for continuous integration (#5017)
* Add rubocop linting to docker:test rake task

* Add eslint JS listing to plugin files, and add SKIP_LINT variable

* Fix failing ‘polls’ plugin eslint

Using eslint-disable-line, as is done in core qunit tests such as `acceptance/group-logs-test.js.es6`

* Add plugin test eslint to travis config

* Merge some eslint lines
2017-08-02 11:33:29 +09:00
Guo Xiang Tan
5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Sam Saffron
c86028f9a5 remove poinless fails from CI
rails master is simply not working now at all, no point testing with it
2017-07-25 09:57:32 -04:00
Régis Hanol
28a397398f change the *correct* timeout value 2017-07-24 11:44:33 +02:00
Guo Xiang Tan
653ef56dc7 Revert "Don't run Rails migration on Travis for QUNIT only tests."
This reverts commit 238d83c6e6.
2017-07-17 15:37:32 +09:00
Guo Xiang Tan
cbde8600fe Revert "Fix .travis.yml."
This reverts commit ba541ada85.
2017-07-17 15:37:05 +09:00
Guo Xiang Tan
ba541ada85 Fix .travis.yml. 2017-07-17 14:47:27 +09:00
Guo Xiang Tan
238d83c6e6 Don't run Rails migration on Travis for QUNIT only tests. 2017-07-17 10:01:49 +09:00
David Taylor
1091d101ef Load plugins for qunit travis tests 2017-07-11 21:50:16 +01:00
Guo Xiang Tan
3f4b5e0246 Bump eslint for travis to 4.0. 2017-06-23 09:06:21 +09:00
Guo Xiang Tan
41365f681c Pin eslint to version 3.x on travis. 2017-06-12 15:20:47 +09:00
Guo Xiang Tan
f83e997cf6 Switch to yarn for our travis build. 2017-06-07 10:57:48 +09:00
Robin Ward
29755be139 Remove bundle-audit, it is not updated frequently enough 2017-05-18 12:31:19 -04:00
Robin Ward
570c2c1b88 FIX: Use bundle exec for bundle-audit 2017-05-15 15:05:53 -04:00
Robin Ward
ecf8db15d9 Adds bundle auditing to travis 2017-05-15 13:25:55 -04:00
Guo Xiang Tan
10f34c7ca7 Revert "No need to run migration for QUNIT tests on Travis."
This reverts commit 9d20fbb940.
2017-05-04 15:24:06 +08:00