Browse Source

🛠 Added .travis.yml and gscan tests (#470)

- Add gscan dependency & travis.yml file, so that we can run gscan as a test for this repo
- This check tells us whether or not the theme is valid & compatible with Ghost according to gscan
- We recommend that all themes do this!
master
Hannah Wolfe GitHub 1 year ago
parent
commit
9d803067a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 768 additions and 41 deletions
  1. +6
    -0
      .travis.yml
  2. +4
    -2
      package.json
  3. +758
    -39
      yarn.lock

+ 6
- 0
.travis.yml View File

@@ -0,0 +1,6 @@
language: node_js
sudo: false
node_js:
- "8"



+ 4
- 2
package.json View File

@@ -12,8 +12,9 @@
"mobile": "assets/screenshot-mobile.jpg"
},
"scripts": {
"dev": "gulp",
"zip": "gulp zip"
"dev": "gulp",
"zip": "gulp zip",
"test": "gscan ."
},
"author": {
"name": "Ghost Foundation",
@@ -41,6 +42,7 @@
"devDependencies": {
"autoprefixer": "6.3.6",
"cssnano": "3.7.1",
"gscan": "^2.0.0",
"gulp": "3.9.1",
"gulp-livereload": "3.8.1",
"gulp-postcss": "6.1.1",


+ 758
- 39
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save