forked from parcel-bundler/parcel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (36 loc) · 1007 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Test against the latest version of this Node.js version
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- yarn install
# Install Rust and Cargo
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V
# Restore symlinks from git
# https://github.com/appveyor/ci/issues/650
- cmd: git config core.symlinks true
- cmd: git reset --hard
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- yarn --version
# run tests
- yarn test-ci
# run ESlint
- yarn lint
cache:
- "%LOCALAPPDATA%\\Yarn"
# Don't actually build.
build: off