forked from achimha/angular-archwizard
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup the Karma Configuration File (madoar#245)
- cleanup the karma config file - use karma-browser-detect plugin to detect all testable browsers - overhaul the .travis.yml file - add safari as testing browser - install chromium instead of chrome on gitpod
- Loading branch information
Showing
5 changed files
with
130 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,52 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: node_js | ||
|
||
addons: | ||
chrome: stable | ||
|
||
branches: | ||
only: | ||
- master | ||
- develop | ||
|
||
node_js: | ||
- "12" | ||
- "11" | ||
- "10" | ||
addons: | ||
chrome: stable | ||
firefox: latest | ||
|
||
jobs: | ||
include: | ||
- stage: Coverage | ||
node_js: "12" | ||
script: npm test | ||
after_success: | ||
- npm install -g codacy-coverage | ||
- codacy-coverage < coverage/lcov.info | ||
- stage: Build | ||
node_js: "12" | ||
script: npm run build | ||
# Tests | ||
- stage: Test | ||
os: linux | ||
dist: trusty | ||
node_js: "10" | ||
- stage: Test | ||
os: linux | ||
dist: trusty | ||
node_js: "11" | ||
- stage: Test | ||
os: linux | ||
dist: trusty | ||
node_js: "12" | ||
- stage: Test | ||
os: osx | ||
node_js: "10" | ||
- stage: Test | ||
os: osx | ||
node_js: "11" | ||
- stage: Test | ||
os: osx | ||
node_js: "12" | ||
# Build | ||
- stage: Build | ||
os: linux | ||
node_js: "12" | ||
addons: | ||
chrome: stable | ||
script: npm run build | ||
# Coverage | ||
- stage: Coverage | ||
os: linux | ||
node_js: "12" | ||
addons: | ||
chrome: stable | ||
script: npm test | ||
after_success: | ||
- npm install -g codacy-coverage | ||
- codacy-coverage < coverage/lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,12 @@ | ||
FROM gitpod/workspace-full:latest | ||
|
||
# Change to root for the installation(s) | ||
USER root | ||
# Install chrome dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
gconf-service \ | ||
libappindicator3-1 \ | ||
libasound2 \ | ||
libatk1.0-0 \ | ||
libatk-bridge2.0-0 \ | ||
libc6 \ | ||
libcairo2 \ | ||
libcups2 \ | ||
libdbus-1-3 \ | ||
libexpat1 \ | ||
libfontconfig1 \ | ||
libgcc1 \ | ||
libgconf-2-4 \ | ||
libgdk-pixbuf2.0-0 \ | ||
libglib2.0-0 \ | ||
libgtk-3-0 \ | ||
libnspr4 \ | ||
libpango-1.0-0 \ | ||
libpangocairo-1.0-0 \ | ||
libstdc++6 \ | ||
libx11-6 \ | ||
libx11-xcb1 \ | ||
libxcb1 \ | ||
libxcomposite1 \ | ||
libxcursor1 \ | ||
libxdamage1 \ | ||
libxext6 \ | ||
libxfixes3 \ | ||
libxi6 \ | ||
libxrandr2 \ | ||
libxrender1 \ | ||
libxss1 \ | ||
libxtst6 \ | ||
ca-certificates \ | ||
fonts-liberation \ | ||
libappindicator1 \ | ||
libnss3 \ | ||
lsb-release \ | ||
xdg-utils \ | ||
wget | ||
|
||
# Install chrome | ||
RUN curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /chrome.deb | ||
RUN dpkg -i /chrome.deb || apt-get install -yf | ||
RUN rm /chrome.deb | ||
# Install Chromium | ||
RUN apt-get update && apt-get install -y --no-install-recommends chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Give back control | ||
USER root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters