Commit Graph

72 Commits

Author SHA1 Message Date
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
Austin Burdine
8d29095fa8 🔥 Drop support for Node.js v0.12 (#7820)
no issue

- Node.js v0.12 will be EOL on 31st December
- This removes official support from Ghost
2017-01-16 19:21:45 +01:00
kirrg001
8115d83782 🔥 remove postgres support
refs #1333, refs #5878, refs #5321
2016-09-20 15:59:34 +01:00
kirrg001
6275fdbb25 🔥 remove node 0.10 support, add node 6 support
refs #6899, refs #7098
2016-09-20 15:59:34 +01:00
Hannah Wolfe
ee1f4fdbdd Recommend Node v4 & use as default (#7102)
refs #7098

- Use Node.js v4 as our default build environment
- Add Node.js v6 as an allowed failure
- Update contributor guidelines and readme
- Fix issue with branch exceptions
2016-07-15 12:36:15 -06:00
Austin Burdine
a4c767afb7 Add greenkeeper branch ignores to travis (#7026)
This prevents greenkeeper pushes from being run, as it will be run through the PR that is submitted instead.
2016-06-28 20:15:04 +02:00
Kevin Ansfield
3afb3a657d Revert to old Travis infrastructure and remove client tests
no issue
- moves us back to the older but faster Travis infrastructure
- removes the client tests and related setup as they are now handled in the Ghost-Admin repo
2016-05-24 09:58:13 +01:00
Kevin Ansfield
36f90fb62a Switch to using Ubuntu Trusty on Travis
no issue
- Chrome has dropped support for Ubuntu Precise so it's no longer possible to install the latest stable version - https://github.com/travis-ci/travis-ci/issues/5899
2016-04-14 12:14:59 +01:00
Naoya Kanai
4834cb436d Support Node v4 LTS semver-minor releases
Fixes #6473
- Replace Node v4.2 with v4 in Travis config
- Replace ~4.2.0 with ^4.2.0 in engines to support semver-minor bumps in LTS line
2016-02-12 01:37:27 +09:00
Kevin Ansfield
a4f70b55fc Test client using real browsers on Travis
no issue
- drop phantomjs tests both locally and on Travis
- instruct Travis to install latest Chrome and Firefox
- start an X server when running the client tests on Travis
- update testem config to start Chrome and Firefox in both local and CI tests
- fix testing preview sizing in Firefox as it doesn't support `zoom: 50%` style
- improve infinite scroll testing to be more reliable
- fix post acceptance test to handle both mobile and desktop views
2016-02-08 16:10:40 +00:00
Kevin Ansfield
672396d942 Use phantomJS 2.1.1 in travis
no issue
- download phantomjs 2.1.1 in Travis' `before_install` step and update the `PATH` export to so the downloaded version is used
- remove the now no-longer needed `ember-cli-es5-shim` dependency
- update documentation references to match new phantomjs version
2016-02-03 10:40:04 +00:00
Antuan Khanna
3e9bfe8497 Fix comment about node version changes 2016-01-20 13:38:15 +02:00
Austin Burdine
ea64e5f8b6 remove casperjs from travis setup 2015-11-30 11:23:09 -06:00
Kevin Ansfield
a102eff0ed Separate the server/client/lint test suites on Travis
no issue
- add separate grunt tasks for validating all/client/server test suites
- modify `grunt validate` to respect the `TEST_SUITE` env var if present
- default to `TEST_SUITE=server` on Travis
- add an individual builds to the Travis matrix that test the client and run linting as separate jobs
- don't run `ensureConfig` task if we're performing client-only tests

Previously we were duplicating the client tests and linting for every node and database version in our build matrix. Duplicating those tasks a waste of time/resources as the client tests are now completely isolated from the server and so different node/database versions have no effect. This PR is an attempt at removing the duplication to speed up our Travis runs.
2015-11-30 15:21:08 +00:00
Jakob Gillich
faa1655a50 Enable Node 4.2 testing
* Do not error when node unsupported if GHOST_NODE_VERSION_CHECK=false is set
* Run engine check in preinstall script
* Add 4.2 to travis

issue #5821
2015-11-23 06:45:40 +01:00
Hannah Wolfe
dbd4ff542b Update coverage path for travis 2015-08-25 16:27:35 +01:00
Hannah Wolfe
f0fa1ad0e8 Remove io.js from the build matrix
refs #5330

- io.js 1.2 is massively out of date, testing against it isn't useful
2015-07-10 19:13:41 +01:00
Fabian Becker
a48ba06fec Add correct directories to travis cache
no ref
2015-07-02 16:55:10 +02:00
hoxoa
e0ed655304 Generate coverage and send it to Code Climate
closes #2029
- when the build passed, on merge (no PR) and right DB and Node version (the first job), Travis generates the coverage report
- when finished, Travis sends the results to Code Climate
2015-06-30 20:50:43 +02:00
Fabian Becker
47e16df196 Node v0.12 & io.js support.
fixes #4811, refs #4240
- Add v0.12 to the build
- Fix express tests to work with iojs/0.12
- Add iojs-v1.2.0 to the build matrix
2015-03-09 20:27:14 +01:00
Jason Williams
1b8796b993 Make authenticated GitHub API requests from Travis
No Issue
- top-gh-contribs@0.0.5
- Add oauth key to .travis.yml with public-only access
2015-01-08 16:21:22 +00:00
Jason Williams
383d43cf5a Add pg as an optional dependency.
Closes #1333
- Change PostgreSQL build on Travis from an allowed failure to
  failing the tests just like sqlite3 and MySQL.
2014-11-04 17:00:11 +00:00