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
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