mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
28087d67b8
FROM circleci/node:lts-jessie RUN sudo apt-get update RUN sudo perl -MCPAN -e 'install TAP::Parser' RUN sudo perl -MCPAN -e 'install XML::Generator' RUN sudo apt-get -y install lsb-release unzip software-properties-common RUN lsb_release -a RUN sudo apt-get -y install build-essential clang execstack fakeroot g++-4.8 git libgnome-keyring-dev libsecret-1-dev xvfb rpm libxext-dev libxtst-dev libxkbfile-dev ENV DISPLAY=:99 ENV CC=gcc-4.8 ENV CXX=g++-4.8
26 lines
693 B
YAML
26 lines
693 B
YAML
version: 2
|
|
jobs:
|
|
test:
|
|
docker:
|
|
- image: bengotow/mailspring-build:march2019
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
name: Restore Package Cache
|
|
keys:
|
|
- npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
|
|
- run:
|
|
name: Install Dependencies
|
|
command: npm install
|
|
- save_cache:
|
|
name: Save Yarn Package Cache
|
|
key: npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
|
|
paths:
|
|
- node_modules
|
|
- app/node_modules
|
|
- run: npm run lint
|
|
workflows:
|
|
version: 2
|
|
test:
|
|
jobs:
|
|
- test
|