forked from JordanMartinez/purescript-jordans-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (44 loc) · 1.48 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
41
42
43
44
45
46
47
48
49
50
51
52
dist: xenial
language: node_js
- "node"
# ^ use latest version of NodeJS
# Unless we specify "sudo: false", build runs in VM, not container
# Limit the number of commits it will clone
git:
depth: 3
# Only do CI for the default branch
branches:
only:
- latestRelease
before_install:
- export PATH=$HOME/bin:$PATH
# ^ Include the folder that will store the "dhall-to-json" binary on PATH
install:
- npm i -g [email protected] [email protected]
# ^ Use NPM to install most packages
- chmod +x .travis/spago--print-versions.sh
- ./.travis/spago--print-versions.sh
# ^ Crudely print installed packages' versions
- chmod +x .travis/spago--install.sh
- ./.travis/spago--install.sh
# ^ Install each folder's contents using custom script
before_script:
- chmod +x .travis/spago--build-and-test.sh
script:
- ./.travis/spago--build-and-test.sh
cache:
directories:
- 11-Syntax/01-Basic-Syntax/.spago
- 11-Syntax/02-Foreign-Function-Interface/.spago
- 11-Syntax/03-Type-Level-Programming-Syntax/.spago
- 11-Syntax/04-Module-Syntax/.spago
- 11-Syntax/05-Prelude-Syntax/.spago
- 21-Hello-World/03-Hello-World-and-Effects/.spago
- 21-Hello-World/04-Debugging/.spago
- 21-Hello-World/05-Testing/.spago
- 21-Hello-World/06-Benchmarking/.spago
- 21-Hello-World/06-Benchmarking/node_modules
- 21-Hello-World/07-Type-Level-Programming/.spago
- 21-Hello-World/08-Application-Structure/.spago
- 22-Projects/.spago
- 22-Projects/node_modules