Commit Graph

87 Commits

Author SHA1 Message Date
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
Guo Xiang Tan 9d20fbb940 No need to run migration for QUNIT tests on Travis. 2017-05-04 15:19:32 +08:00
Sam Saffron b4b864047c try to make travis run more stuff at the same time 2017-04-20 09:00:44 -04:00
Guo Xiang Tan 04016f0dec Support Ruby 2.4. 2017-04-15 12:29:00 +08:00
Guo Xiang Tan 10fb13d204 Start running tests for slack plugin on Travis. 2017-04-05 16:44:00 +08:00
Guo Xiang Tan 03ec1b1ef5 Run tests against 2.3.3. 2017-03-02 17:28:35 +08:00
Guo Xiang Tan e89fc5f483 Revert "Run Travis against 2.4.0 as well."
This reverts commit 0000de9501.
2017-01-09 12:21:53 +08:00
Guo Xiang Tan 0000de9501 Run Travis against 2.4.0 as well. 2017-01-09 10:07:01 +08:00
Guo Xiang Tan c554a20c5e Run specs for canned replies as well. 2016-12-30 14:17:36 +08:00
Jon Moss 8b584bd764 Don't try and update rails-observers
Was removed from Discourse via c531f4ded5.
2016-12-24 10:39:02 -05:00
Guo Xiang Tan e96487283e Fix travis script. 2016-11-30 16:41:12 +08:00
Guo Xiang Tan 5200446eb7 Increase Qunit tests timeout on Travis. 2016-11-30 16:35:44 +08:00
Guo Xiang Tan acf9da6b8d Run tests for Discourse Cakeday on Travis. 2016-11-23 15:26:30 +08:00
Guo Xiang Tan c24b9d609b Use PostgreSQL 9.5 on travis. 2016-11-15 15:30:38 +08:00
Guo Xiang Tan bd76b62fd0 Add more plugins to test for. 2016-08-19 17:01:18 +08:00
Guo Xiang Tan 735a71ff3a Test important plugins on our travis build. 2016-08-18 19:22:45 +08:00
Sam 4b7b80a5c2 Merge pull request #4259 from tgxworld/update_dependencies
Update dependencies
2016-06-29 12:20:18 +10:00
Guo Xiang Tan ae5a033469
Start checking eslint in plugins. 2016-06-15 11:14:24 +08:00
Guo Xiang Tan 09b92dd345
Bump minimum Ruby version to 2.3. 2016-06-10 11:40:42 +08:00
Sam 1adf24656c get trusty working on travis 2016-05-23 12:04:44 +10:00
Sam 9285168aa4 use trusty 2016-05-23 11:58:20 +10:00
Erick Guan 85e2467a0d
watch ruby 2.3.1 on travis 2016-05-07 23:57:33 +02:00
Guo Xiang Tan b0ae122fd2 No need to pin eslint to 2.2 anymore. 2016-04-08 15:08:48 +08:00
Guo Xiang Tan 7d92c9c738 FIX: Pin ESlint to 2.2.
See https://github.com/eslint/eslint/issues/5476
2016-03-07 10:27:27 +08:00
Guo Xiang Tan 137191f486 Run tests with Ruby 2.3.0 on TravisCI. 2015-12-26 13:11:30 +08:00
Sam 613761d1cd FEATURE: upgrade to Rails 4.2.4 2015-09-23 15:24:30 +10:00
Kane York 3ca3746d7e Unlock eslint version
eslint/eslint#3746
2015-09-11 16:39:19 -07:00
Kane York 7e50af7547 Temporarily lock eslint to 1.3.1 2015-09-11 09:10:08 -07:00
Guo Xiang Tan ce2ae90831 Lets see if this properly caches bundler on travis. 2015-08-17 01:05:57 +08:00
Régis Hanol b9b1f8c23f apt-get isn't needed actually 2015-08-14 12:32:14 +02:00
Régis Hanol 1aa4aeadcb `sudo` doesn't work in Travic-CI 2015-08-14 12:07:08 +02:00
Régis Hanol 23c774a324 Let's try @wil93's recommendation to whitelist packages 2015-08-14 10:52:33 +02:00
Robin Ward 8ad2db7d2b Revert "Add image software to travis to stop complaints"
This reverts commit e6b85d5be6.

We apparently can't do this because we are on Travis' docker
infrastructure.
2015-08-13 16:04:31 -04:00
Robin Ward e6b85d5be6 Add image software to travis to stop complaints 2015-08-13 15:51:42 -04:00