Try to speed up build

This commit is contained in:
squidfunk
2017-02-09 18:07:11 +01:00
parent 3e2fa37250
commit 038288d489
3 changed files with 28 additions and 21 deletions

View File

@@ -31,21 +31,18 @@ node_js:
matrix: matrix:
include: include:
- node_js: 7 - node_js: 7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
install: yarn install
script: yarn run test:visual:run --no-clean script: yarn run test:visual:run --no-clean
# Install a C++11 compatible compiler
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
# Set C++ compiler as default
env:
- CXX=g++-4.8
# Limit clone depth to 5, to speed up build # Limit clone depth to 5, to speed up build
git: git:
depth: 5 depth: 5
@@ -57,6 +54,9 @@ cache:
directories: directories:
- node_modules - node_modules
# Do not install optional dependencies by default
install: yarn install --ignore-optional
# Install dependencies # Install dependencies
before_script: before_script:
- pip install --user -r requirements.txt - pip install --user -r requirements.txt

View File

@@ -51,7 +51,6 @@
"eslint": "^3.14.0", "eslint": "^3.14.0",
"eslint-plugin-mocha": "^4.8.0", "eslint-plugin-mocha": "^4.8.0",
"fastclick": "^1.0.6", "fastclick": "^1.0.6",
"gemini": "^4.14.3",
"git-hooks": "^1.1.7", "git-hooks": "^1.1.7",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-changed": "^1.3.2", "gulp-changed": "^1.3.2",
@@ -90,8 +89,6 @@
"moniker": "^0.1.2", "moniker": "^0.1.2",
"node-notifier": "^5.0.0", "node-notifier": "^5.0.0",
"postcss-pseudo-classes": "^0.1.0", "postcss-pseudo-classes": "^0.1.0",
"sauce-connect-launcher": "^1.2.0",
"selenium-standalone": "^6.0.0",
"stylelint": "^7.8.0", "stylelint": "^7.8.0",
"stylelint-config-standard": "^16.0.0", "stylelint-config-standard": "^16.0.0",
"stylelint-order": "^0.2.2", "stylelint-order": "^0.2.2",
@@ -103,6 +100,11 @@
"whatwg-fetch": "^2.0.1", "whatwg-fetch": "^2.0.1",
"yargs": "^6.6.0" "yargs": "^6.6.0"
}, },
"optionalDependencies": {
"gemini": "^4.14.3",
"sauce-connect-launcher": "^1.2.0",
"selenium-standalone": "^6.0.0"
},
"engines": { "engines": {
"node": ">= 4.5.0" "node": ">= 4.5.0"
}, },

View File

@@ -9,7 +9,8 @@
"platform": "Windows 10", "platform": "Windows 10",
"screenResolution": "1280x1024", "screenResolution": "1280x1024",
"recordVideo": "false" "recordVideo": "false"
} },
"retry": 1
}, },
"firefox": { "firefox": {
"desiredCapabilities": { "desiredCapabilities": {
@@ -18,7 +19,8 @@
"platform": "Windows 10", "platform": "Windows 10",
"screenResolution": "1280x1024", "screenResolution": "1280x1024",
"recordVideo": "false" "recordVideo": "false"
} },
"retry": 1
}, },
"edge": { "edge": {
"desiredCapabilities": { "desiredCapabilities": {
@@ -26,7 +28,8 @@
"platform": "Windows 10", "platform": "Windows 10",
"screenResolution": "1280x1024", "screenResolution": "1280x1024",
"recordVideo": "false" "recordVideo": "false"
} },
"retry": 1
}, },
"ie11": { "ie11": {
"desiredCapabilities": { "desiredCapabilities": {
@@ -35,7 +38,8 @@
"platform": "Windows 10", "platform": "Windows 10",
"screenResolution": "1280x1024", "screenResolution": "1280x1024",
"recordVideo": "false" "recordVideo": "false"
} },
"retry": 1
}, },
"ie10": { "ie10": {
"desiredCapabilities": { "desiredCapabilities": {
@@ -44,7 +48,8 @@
"platform": "Windows 8", "platform": "Windows 8",
"screenResolution": "1280x1024", "screenResolution": "1280x1024",
"recordVideo": "false" "recordVideo": "false"
} },
"retry": 1
} }
}, },
"system": { "system": {