Skip to content

Commit

Permalink
Adding CircleCI checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryps1s committed May 14, 2018
1 parent 2cb4f89 commit 0b9b85a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7-stretch
steps:
- checkout
- run:
name: Install Curl and Apt-Transport-Https
command: sudo apt-get install -y curl apt-transport-https
- run:
name: Add Microsoft GPG Keys
command: curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- run:
name: Add Microsoft APT Repository
command: sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/microsoft.list'
- run:
name: Update list of APT packages
command: sudo apt-get update
- run:
name: Install powershell
command: sudo apt-get install -y powershell
- run:
name: Install LXML
command: sudo pip install lxml
- run:
name: Validate Packer Files exist.
command: python ci/validate_packer_files.py
- run:
name: Validates JSON Files.
command: python ci/validate_json_files.py

0 comments on commit 0b9b85a

Please sign in to comment.