Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
🚥 Add CirclCI, TravisCI, and Appveyor configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Spain committed Dec 9, 2015
1 parent a445775 commit 724b47b
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
git:
depth: 10
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change
os: osx

script: apm install && npm test
# script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' # TODO: add specs (#13)
20 changes: 20 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "{build}"
os: Windows Server 2012 R2
branches:
only:
- master
test: off
deploy: off

install:
- appveyor DownloadFile https://atom.io/download/windows -FileName AtomSetup.exe
- AtomSetup.exe /silent

build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
- apm clean
- apm install
# TODO: add specs (#13)
- npm test
#- apm test
16 changes: 16 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
dependencies:
pre:
# Force updating wget due to the current containers being too out of date
- sudo apt-get update
- sudo apt-get install wget
override:
- wget -O atom-amd64.deb https://atom.io/download/deb
# - sudo apt-get update # Cut out until wget is fixed on the containers
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get -f install -y
- atom -v
- apm -v
- apm install
# test:
# post:
#- apm test # TODO: add specs (#13)
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"main": "./lib/init",
"version": "1.2.3",
"description": "Lint markdown on the fly, using mdast-lint",
"scripts": {
"test": "echo 'no tests'"
},
"keywords": [],
"activationCommands": {},
"repository": "https://github.com/AtomLinter/linter-markdown",
Expand Down

0 comments on commit 724b47b

Please sign in to comment.