Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
install:
- choco install jq
- choco install rsync
- node --version
- npm --version
- npm install
- pip install --upgrade pip
- pip install pipenv
- pipenv install cram
- bash ./tests/pre-download-elm-packages.sh

build: off

test_script:
- bash ./tests/make_links.sh
- pipenv run cram -v ./tests
15 changes: 15 additions & 0 deletions tests/pre-download-elm-packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -ex

echo "Pre-downloading required elm packages"
yes | ./node_modules/.bin/elm init
yes | ./node_modules/.bin/elm install elm/json
yes | ./node_modules/.bin/elm install elm/core
yes | ./node_modules/.bin/elm install elm/time
yes | ./node_modules/.bin/elm install elm/random
yes | ./node_modules/.bin/elm install elm/virtual-dom
yes | ./node_modules/.bin/elm install elm/html
yes | ./node_modules/.bin/elm install NoRedInk/elm-json-decode-pipeline
yes | ./node_modules/.bin/elm install elm-explorations/webgl
rm elm.json