This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 1.68 KB
/
.travis.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
# Copyright © 2019-2020 Brandon Li. All rights reserved.
#!————————————————————————————————————————————————————————————————————————————*!
# Entry point for https://travis-ci.org/. Instructs travis to check that every
# branch passes linting and testing on every commit.
#
# Note: This file was auto-generated by `grunt generate-travis`. It is not
# recommended to modify this file. For more information, see
# https://github.com/brandonLi8/grunt-config/.
#
# NOTE: Travis is now DEPRECATED due to the recent acquisition and layoffs.
# See https://techcrunch.com/2019/01/23/idera-acquires-travis-ci/.
#
# @author Brandon Li <[email protected]>
#!————————————————————————————————————————————————————————————————————————————*!
language:
node_js # use Node.js
node_js:
- node # tentative version
branches:
only:
- /.*/ # Test every branch.
before_script:
- npm cache clean --f # Clear the npm cache if it exists.
- npm install # Install dependencies.
script:
- grunt eslint --no-cache # Ensure all source code is lint-free.
- grunt check-copyright # Ensure that all source code copyright
# statements are correct.
- npm test --if-present # Ensure that project-defined tests pass.
after_script:
- echo Bye!