Jonatan Nilsson
35b82934f1
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
38 lines
956 B
YAML
38 lines
956 B
YAML
# version format
|
|
version: '{build}'
|
|
|
|
# branches to build
|
|
branches:
|
|
# whitelist
|
|
only:
|
|
- master
|
|
|
|
# Do not build on tags (GitHub, Bitbucket, GitLab, Gitea)
|
|
skip_tags: true
|
|
|
|
# Maximum number of concurrent jobs for the project
|
|
max_jobs: 1
|
|
clone_depth: 1
|
|
|
|
# Build worker image (VM template)
|
|
build_cloud: Docker
|
|
|
|
environment:
|
|
APPVEYOR_SSH_KEY: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBRMxhawMlUlQ8l4pOaeHsZl8XDO54WQngkYM1U/XB4m samsyn\jonatan@JonatanAMD
|
|
docker_image: node:16-alpine
|
|
npm_config_cache: /appveyor/projects/cache
|
|
|
|
test_script:
|
|
- sh: |
|
|
mkdir /lib64
|
|
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
|
|
chmod -R 777 /appveyor/projects
|
|
npm install
|
|
npm test
|
|
echo running test integration
|
|
npm run test:integration
|
|
echo Success
|
|
|
|
on_finish:
|
|
- sh: export APPVEYOR_SSH_BLOCK=true
|
|
- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
|