@@ -23,6 +23,8 @@ matrix:
23
23
- kalakris-cmake
24
24
- ubuntu-toolchain-r-test
25
25
packages :
26
+ - nodejs
27
+ - npm
26
28
- gfortran-6
27
29
- binutils
28
30
- cmake
@@ -44,6 +46,8 @@ matrix:
44
46
sources :
45
47
- ubuntu-toolchain-r-test
46
48
packages :
49
+ - nodejs
50
+ - npm
47
51
- gfortran-6
48
52
- binutils
49
53
- python-pip
@@ -64,6 +68,8 @@ matrix:
64
68
sources :
65
69
- ubuntu-toolchain-r-test
66
70
packages :
71
+ - nodejs
72
+ - npm
67
73
- gfortran-7
68
74
- binutils
69
75
- python-pip
@@ -82,6 +88,8 @@ matrix:
82
88
sources :
83
89
- ubuntu-toolchain-r-test
84
90
packages :
91
+ - nodejs
92
+ - npm
85
93
- gfortran-8
86
94
- binutils
87
95
- python-pip
@@ -100,6 +108,8 @@ matrix:
100
108
sources :
101
109
- ubuntu-toolchain-r-test
102
110
packages :
111
+ - nodejs
112
+ - npm
103
113
- gfortran-9
104
114
- binutils
105
115
- python-pip
@@ -126,7 +136,12 @@ install:
126
136
- pip install --upgrade graphviz
127
137
- (pip install --upgrade FoBiS.py==2.2.8 && FoBiS.py --version)
128
138
- (pip install --upgrade ford==6.0.0 && ford --version)
129
- - (pip install --upgrade git+https://github.com/dmeranda/demjson.git && jsonlint --version)
139
+ - export NPM_PACKAGES="${HOME}/.npm-packages"
140
+ - mkdir "${HOME}/.npm-packages" || true
141
+ - npm config set prefix "${HOME}/.npm-packages"
142
+ - export PATH="${HOME}/.npm-packages/bin:$PATH"
143
+ - npm install -g jsonlint
144
+ - jsonlint --version || true # Why would you exit non-zero from --version ???!?!?! wth
130
145
131
146
before_script :
132
147
- |
0 commit comments