1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-02 12:20:05 +02:00
Files
gitlit/.circleci/config.yml
2018-12-12 17:29:13 +01:00

46 lines
1.4 KiB
YAML

# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run build
- run: sudo dpkg --add-architecture i386
- run: sudo apt-get install software-properties-common
- run: sudo add-apt-repository -y ppa:ubuntu-wine/ppa
- run: sudo apt-get update
- run: echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
- run: sudo apt-get install -y wine
- run: bash makedist.sh
- store_artifacts:
path: ~/repo/dist