Commit Graph

93 Commits

Author SHA1 Message Date
Hannah Wolfe
6315223589 Node v12 is now LTS and supported
- no more allowed failures
- shouldn't need ignore-engines flag anymore
2019-11-06 09:39:56 +07:00
Rishabh Garg
13d1a5b328
Updated travis notifications config (#11200)
no issue

Uses travis conditionals to push slack notifications only for cron run on master
2019-10-05 10:03:29 +05:30
Rish
de106728a8 Reverted .travis.yml using std notifications
no issue

Std notifications for travis is not working well in generating slack notifications, reverted to use custom script to send Slack messages
2019-09-23 12:29:11 +05:30
Rish
e34281695c Removed fast_finish: true from Travis CI configuration
no issue

Based on reported upstream issues - https://github.com/travis-ci/travis-ci/issues/1696
We started receiving multiple notifications per build from Travis after enabling `allowed_failures` for node 12. It seems `allowed_failures` along with `fast_finish` don't work well in travis ci config, and sends a notification first for when main jobs are finished, and then for each `allowed_failure` job.  It doesn't seem like the issue is fixed upstream based on above, so disabling `fast_finish` for now.
2019-07-12 20:14:50 +05:30
Rish
81b39cb667 Updated travis config
no issue

Removed `on_failure` notification flag to skip duplicate notifications
2019-07-12 19:41:14 +05:30
Nazar Gargol
058a87d2a1 Fixed Node v12 failing build on Travis
no issue

- Node v12 goes into LTS on 2019-10-22 (https://github.com/nodejs/Release#release-schedule)
- It is not a recommended version but we want to start testing it early
- Added '--ignore-engines' option to `install` step to make it possible
to run v12 build without adding new entry in Ghost's package.json
2019-06-18 12:20:51 +02:00
Nazar Gargol
d06409701d Added Node v12 to allowed failures
no issue

- Node v12 goes into LTS on 2019-10-22 (https://github.com/nodejs/Release#release-schedule)
2019-06-17 23:44:23 +02:00
Naz Gargol
acdcadc396
🔥 Dropped Node v6 support (#10771)
no issue
    
- Node v6 has come to EOL as of 2019-04-30 (ref. https://github.com/nodejs/Release#end-of-life-releases)
- Removed Node v6 specific tests and code
2019-06-03 14:20:23 +02:00
Hannah Wolfe
b5af42a9ef Updated .travis.yml w/ simpler renovate logic
- This worked in tests!
2019-04-18 13:35:41 +01:00
Hannah Wolfe
e4c235f603
Temporarily remove renovate handling 2019-04-18 10:09:01 +01:00
Hannah Wolfe
e830e334d2 Updated .travis.yml swap renovate build to push
- currently, we only build renovate PRs
- that means we can't use automerge branch, as we wouldn't run any checks
- this swaps to running only renovate pushes, which means the branch always gets checked
2019-04-17 09:24:00 +01:00
Hannah Wolfe
8d6324185e Update .travis.yml - no slack success msgs
- only notify success after failure
2019-03-12 11:42:51 +00:00
Hannah Wolfe
c1abcc8dc6 Update .travis.yml - notifications retry
- try regenerating the key
- turn success notifications on until we've got it working
2019-03-11 21:41:57 +00:00
Hannah Wolfe
6970555dd1 Update .travis.yml - switch to xenial 2019-03-11 16:54:30 +00:00
Hannah Wolfe
6baf4c0dae Update .travis.yml - fix linting derp 2019-03-11 16:39:17 +00:00
Hannah Wolfe
6b0f865f89 Update .travis.yml - use std notifications 2019-03-11 16:30:25 +00:00
Hannah Wolfe
9efc06255f Simplify lint build in travis & grunt
refs #9441

- We have logic in travis and in grunt and in package.json, this simplifies things.
- `grunt lint` is now just an alias
2019-03-11 16:25:56 +00:00
Hannah Wolfe
cc84f6d6a1
Update .travis.yml - remove coverage report
- no one was using this
2019-03-11 15:58:39 +00:00
Hannah Wolfe
ce57718b93
Update .travis.yml - preparation for renovate
- attempt to do a regression build for cron OR renovate
- we want to run all tests when dependencies are updated, and on nightlies
2019-03-11 14:31:55 +00:00
Hannah Wolfe
812986b215
Update travis.yml - remove greenkeeper ref
- we no longer use greenkeeper, and are switching to renovate, so this is unnecessary
2019-03-11 13:59:04 +00:00
kirrg001
e2757d18f8 Added fix for cron job
no issue

- crob job is running acceptance tests and not regression tests
- not 100% sure this is the cause, but let's try it
2019-03-07 10:37:00 +01:00
cl1ent
8a441a04ab Enabled yarn caching in .travis.yml (#10452)
no issue
2019-02-06 18:57:57 +01:00
cl1ent
7b8bf8977c Updated line numbers in .travis.yml comment (#10451)
no-issue
2019-02-05 17:14:11 +01:00
kirrg001
99c3338ca9 💡 Recommended Node v10
no issue

- see https://docs.ghost.org/faq/node-versions/
2019-01-31 12:25:04 +01:00
kirrg001
1aaf069fc8 Added missing whitespace to .travis.yml
no issue

I saw this:

> /home/travis/.travis/job_stages: line 104: [: missing `]'

https://travis-ci.org/TryGhost/Ghost/jobs/486047686
2019-01-29 19:40:55 +01:00
kirrg001
e3a573f215 Fixed lint build for cron job
no issue

- i assume it's failing because it tries to run regression tests, but it has no NODE_ENV set
2019-01-29 19:32:54 +01:00
Hannah Wolfe
c8bd861f41 Proper travis notification config 2019-01-29 13:22:08 +00:00
Hannah Wolfe
82cc82dc6e Travis env vars need double quotes 2019-01-29 13:14:50 +00:00
Hannah Wolfe
f9576a7ff6 Testing simpler travis notification style 2019-01-29 13:10:11 +00:00
Hannah Wolfe
fbee79f691 Another attempt at travis notifications 2019-01-29 12:33:56 +00:00
Hannah Wolfe
e20537e2bf Final travis.yaml config for slack 2019-01-28 17:26:21 +00:00
Hannah Wolfe
8406943360 Ugly quote fix for travis.yml
- inspiration from https://github.com/travis-ci/travis-ci/issues/8597#issuecomment-337240810
- https://stackoverflow.com/questions/47742913/travis-ci-how-to-use-repository-variables-in-travis-yml
2019-01-28 17:19:56 +00:00
Hannah Wolfe
9f7aa63032 Attempted to get env vars working in travis.yml 2019-01-28 17:10:51 +00:00
Hannah Wolfe
eb49fdcb8f Try different approach to quotes 2019-01-28 16:57:11 +00:00
Hannah Wolfe
e3d310ba04 Attempt to fix travis.yml 2019-01-28 16:53:48 +00:00
Hannah Wolfe
5af31ba229 Testing travis -> slack notifications 2019-01-28 16:45:35 +00:00
Katharina Irrgang
7ec9dda30c
Added cron handling for travis (#10412)
no issue
2019-01-22 18:31:07 +01:00
Katharina Irrgang
4bd211b42a Added Node v10 Support (#10058)
* Added Node v10 Support

no issue

Signed-off-by: kirrg001 <katharina.irrgang@googlemail.com>

* Bump amperize to version 0.3.8

no issue

* Bump mysql to version 2.16.0

no issue

- mysql 2.15.0 uses a deprecated notation for timers
- e.g. timers.unenroll()

* Bump sub dependencies

no issue

- e.g. knex-migrator used mysql 2.15.0

* Bump dependencies

no issue

* Replaced `new Buffer` with `Buffer.from`

no issue

- Buffer() is deprecated due to security and usability issues.
- https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
2018-10-30 15:45:51 +07:00
Fabien O'Carroll
647fb1db62 Move yarn installation into before_install scripts
refs #9838

For some reason Travis was pulling in a different key, and so the yarn
package could not be verified. The apt addon for travis displays that it
is in beta - so for now the installation of yarn has been moved into
before_install which should be more stable.
2018-08-30 16:58:43 +08:00
kirrg001
5f5f0021db 🔥 Drop Node v4 Support
no issue

- support ends today
- see https://github.com/nodejs/Release
- removed `use strict`
2018-05-01 14:06:18 +02:00
Katharina Irrgang
b23ec1c587 Switch Travis to Node v8 for linting and coverage (#9487)
no issue
- we're switching our development environments and internal hosting to version 8 in preparation to switch our recommended Node.js version to 8
- node v8 is much faster than node v6
2018-03-06 16:04:02 +00:00
Aaron Kau
be1d46a1fd Fixed comment about node version changes (#9223)
no issue
2017-11-08 00:27:47 +01:00
Katharina Irrgang
07dcbb0d53 Support for Node v8 (#9183)
no issue

- bump dependencies because of failing tests
- added package-lock.json to gitignore, because we use yarn
- run v8 on travis
- support v8 engine in package.json
2017-10-26 11:37:58 +01:00
Katharina Irrgang
1813d1815d recommend node v6 (#8674)
no issue

- see https://docs.ghost.org/docs/supported-node-versions
- add supported node versions link to README
- run coverage for node v6
2017-07-11 14:05:38 +01:00
Aileen Nowak
4f9549fd7d 🔥 Remove deprecated GHOST_NODE_VERSION_CHECK (#8533)
no issue

- removes the deprected `GHOST_NODE_VERSION_CHECK` from `travis.yml`
- `GHOST_NODE_VERSION_CHECK` was removed a couple of month ago
2017-06-07 09:51:15 +02:00
kirrg001
cfb9d35d4d 🔥 Update yarn.lock on greenkeeper PR's
no issue

- we have disabled greenkeeper for now
- we would like to bump dependencies with yarn upgrade-interactive --exact
- this removes the logic to add an extra commit to GK pull requests via travis
2017-05-12 08:59:09 +01:00
Katharina Irrgang
b5cdc01ad1 🎨 Updates for Gruntfile (#8158)
* grunt docs did not work
  - the option "extras" did not work
  - https://github.com/jbt/docker/blob/v0.2.14/src/docker.js#L1280
  - there is a bug in docker docs
  - i removed it for now
* grunt watch-docs typo + remove old config
* remove client testing and client linting
* optimise grunt validate
  - validate is just a wrapper command for `npm test`
  - it will either run lint or the server tests
  - no build - why should validate build ember?
* config updates
  - we don't have a config.js anymore
  - use new config notation
* Update grunt dev
  - livereload for Ghost wasn't working correct, the server wasn't stopped correctly and after reload an address in use error was visibile
  - that is because the "spawn" option has changed to "nospawn"
  - add stdout/stderr info to the bgshell watch command
2017-03-14 13:51:32 +00:00
Austin Burdine
bc6980c4ac Update yarn.lock on greenkeeper PR's (#7885)
* update yarn.lock on greenkeeper prs
* chore: yarn.lock
2017-01-24 23:33:10 +01:00
Austin Burdine
2c73eec34d 🐛 fix sqlite module binary issues with yarn caching (#7879)
no issue
2017-01-24 16:36:21 +01:00
Austin Burdine
4dad5ae742 add yarn.lock file and cleanup .travis.yml (#7853)
no issue

- add yarn.lock with latest dependencies
- remove unused travis cache lines and install deps via yarn
2017-01-23 16:32:49 +01:00