Commit Graph

141 Commits

Author SHA1 Message Date
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
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
Robin Ward 9b7c4023e8 Run eslint instead of jshint, remove rbx 2015-08-13 15:22:33 -04:00
Guo Xiang Tan 56276138b5 Run main tests on Travis first. 2015-07-17 16:23:43 +08:00
Arthur Neves 338fb6efdd
Test on rails 4.2 and master 2015-04-28 23:20:08 -04:00
Arthur Neves 94678f977a
Update travis config file
A few things in here:
- Test on ruby 2.2
- Allow failures in all variants of RAILS_MASTER test
- Use db:create task
2015-04-24 16:28:27 -04:00
Robin Ward 19a9a8b408 `NewPostManager` determines whether to queue a post or not 2015-04-15 14:54:36 -04:00
Brandon Fish 53f35cc4fd Add Rubinius to Build Matrix with Allowed Failure
Please add Rubinius to the build matrix with failure allowed.
2015-02-22 13:51:40 -06:00
Sam 1a775aa784 Merge pull request #2784 from chancancode/upgrade-to-rails-master-4-2
[WIP] Upgrade to rails master/4.2
2014-11-11 09:46:02 +11:00
Godfrey Chan 5cc9f5bff5 Add RAILS_MASTER to the travis build matrix 2014-11-10 01:05:47 -08:00
Josh Kalderimis e1eea7e73d oops, missed some -- 2014-11-07 17:05:24 +13:00
Josh Kalderimis 19b36dea43 faster and more stable bundle installing 2014-11-07 17:03:16 +13:00
Josh Kalderimis bca5c2192a looks like db:migrate is required 2014-11-07 14:10:17 +13:00
Josh Kalderimis a687c32cc7 make the env vars global 2014-11-07 14:04:32 +13:00
Josh Kalderimis 970417e328 some possible improvements to build times
- use our new infrastructure based on LXC and EC2
- enable caching for bundler
- use schema:load (best practice)
- use --deployment (best practice when a Gemfile.lock is around)
2014-11-07 14:03:08 +13:00
Sam 7490a74875 version 2.1.2 is out 2014-05-12 11:33:21 +10:00
Nick Schonning 7618220296 Add JSHint to Travis validation
Run before the install as it acts as a fast fail vs the gem install time
2014-03-08 01:19:16 -05:00
Vikhyat Korrapati d67a33bed9 Add plugin specs to travis. 2014-03-05 00:17:34 +05:30
Sam 6d4d2db9f9 2.1.1 is a lot less segfaulty, test on it 2014-02-26 11:15:22 +11:00
Sam c555538db4 BUGFIX: stop testing on 2.1 it segfaults
As much I love Ruby 2.1 we can not test it till segfaults are fixed
2014-01-31 12:42:04 +11:00
Sam c85d09cc69 BUGFIX: bundle exec migrations
FEATURE: add 2.1.0 as a target for testing
2014-01-06 12:06:23 +11:00
Sam 786f488186 attempt to make travis less upset 2013-12-18 19:15:22 +11:00
Sam 8f9f6580d2 fix travis 2013-12-18 17:55:30 +11:00
Sam 34be27f425 table_exists should be called aggresively while it is false or nil, to avoid bootstrapping issues
don't test 1.9.3 in travis, it blows up randomly due to incorrect implementation of weak refs in 1.9.3
2013-10-30 11:02:10 +11:00
Régis Hanol 715a6d177a slightly less verbose travis builds 2013-10-18 17:33:23 +02:00
Robin Ward 82c21868f3 Moved JSHint into Qunit suite. It's much harder to forget about now! 2013-06-21 14:07:11 -04:00
Robin Ward 285e27fe84 OOPS: Invalid YAML 2013-06-19 18:22:14 -04:00
Robin Ward 7772ef7529 Change travis to use qunit 2013-06-19 18:19:36 -04:00
Sam ee2b8b7244 Update .travis.yml
no luck, abort
2013-06-13 21:12:06 +10:00
Sam 6b68cd298b Update .travis.yml
p195 for less crashage
2013-06-13 21:08:58 +10:00
Michael Brown 6257c48613 Updated documentation
* added RVM option for single-user install
* clarified Web Server options
* bluepill sample config: create socket directory if it doesn't exist
* add multisite.yml.production-sample
* rename production.sample.rb (OCD)
* make two database.yml samples (one for dev, one for prod)
* fixed travis build (database.yml.sample renamed)
* fix other references to database.yml.sample
* clean up 'rvm requirements' instructions as per @mpapis
2013-05-25 00:07:45 -04:00
Karan Misra c3affe31a6 .travis.yml: Start building discourse on ruby 2.0. Local build shows green 2013-03-22 06:14:48 +05:30
Sam 8a91b96ec7 lets give ruby some more memory so tests run faster 2013-03-10 20:14:46 -07:00
Thomas McDonald b66ee10c18 Don't install development group gems in Travis
Will speed up set up time slightly
2013-03-06 12:36:19 +00:00
Régis Hanol fb17c451ce trying to get jshint to work on travis 2013-03-02 01:22:35 +01:00
Robin Ward eea6eeb07a Allow travis to use sample .yml files 2013-02-12 16:30:56 -05:00
Arik Fraimovich 95179ac22c Run Jasmine specs in Travis CI 2013-02-08 00:07:48 +02:00
Arik Fraimovich ad93fe68d8 Updated .travis.yml to run migrations 2013-02-07 22:03:44 +02:00
Arik Fraimovich c5233505e9 Added TravisCI configuration file 2013-02-07 21:43:07 +02:00