Skip to content

Instantly share code, notes, and snippets.

@gauntface
Created August 14, 2017 16:53
Show Gist options
  • Save gauntface/fa0597f11c976d5a65dfac854ac9a3c5 to your computer and use it in GitHub Desktop.
Save gauntface/fa0597f11c976d5a65dfac854ac9a3c5 to your computer and use it in GitHub Desktop.
# Misc Addons/Configs
dist: trusty
sudo: required
addons:
apt:
sources:
- google-chrome
- ubuntu-toolchain-r-test
packages:
- google-chrome-stable
- g++-4.8
language: node_js
node_js:
- 6
cache: yarn
# Define global C++ compiler version
env:
global:
- CXX=g++-4.8
before_install:
# Yarn defaults to an old version, make sure we
# get an up to date version
- npm install -g yarn
before_script:
- export PATH=$PATH:./node_modules/.bin
- mkdir -p tests/config && echo "$PROJECT_CONFIG" > tests/config/project.json
# Integration Test suite
jobs:
include:
- stage: Browser Tests
env:
- TEST_ENV=node
- TEST_ENV=browser
script:
- gulp test --suite="$TEST_SUITE" --env="$TEST_ENV"
- stage: Integration Tests
script:
- ./integration/webpack/runner.sh
- ./integration/browserify/runner.sh
- ./integration/typescript/runner.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment