Mailspring/.circleci/config.yml
Ben Gotow 28087d67b8 Use a docker image with more linux configuration
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
2019-03-17 10:45:03 -07:00

27 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