Jarek Radosz
eeb84806bc
Fix frontend tests on Travis ( #8089 )
...
* Remove obsolete travis cache option (apt)
See: https://github.com/travis-ci/travis-ci/issues/5876
* Travis config value "addons.postresql" is a string
* Update Travis from trusty to xenial
Fixes the frontend build, which was failing because Chrome has dropped Trusty support in the latest version. See: https://travis-ci.community/t/travis-is-downloading-older-chrome-versions-in-place-of-chrome-stable/5040/4
2019-09-12 10:31:51 +10:00
Joffrey JAFFEUX
cc46de8f46
s/discourse-staff-notes/discourse-user-notes ( #7936 )
2019-07-24 20:04:27 +02:00
Abroskin Alexander
0872a1182d
DEV: Replace Overcommit with Lefthook ( #7826 )
...
Overcommit uses prebuilt hooks and require global installation.
To avoid this issues replace it with Lefthook.
Lefthook will be installed with npm packages. New contributors
will have fully consistent git hooks.
2019-07-02 11:29:52 +02:00
Sam Saffron
10b94e4530
Attempt to get travis to run tests correctly
2019-06-17 16:14:26 +10:00
David Taylor
6fdbf15d6b
DEV: Remove Danger from travis build
2019-05-01 15:15:28 +01:00
Guo Xiang Tan
09b3d0c2a0
DEV: Only install danger on Travis. ( #7452 )
2019-04-29 14:45:24 +08:00
Guo Xiang Tan
a7b840c203
DEV: Run with Ruby 2.6.3 on Travis.
2019-04-29 13:59:34 +08:00
Guo Xiang Tan
0de2253d55
Run with Ruby 2.6.2 on Travis.
2019-04-03 10:38:09 +08:00
Gerhard Schlager
c7bd96ae11
DEV: Increase timeout for JS tests on Travis
2019-03-18 23:55:50 +01:00
David Taylor
afd449089f
FEATURE: Import and export themes in a .tar.gz format ( #6916 )
2019-01-23 14:40:21 +00:00
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