Comments (5)
On the project that raised my inquiry into this, I was able to accomplish what I wanted with:
install:
- nvm install v12
- nvm use v12
that sets up node 12 on a PHP container, so I can run my jobs without worrying about matrix
or jobs
.
Aside: Is the key node
or node_js
? On another project, node_js: 12
didn't seem to do anything if I'd previously declared the language as php
.
Another aside: When I look in Travis, I see this:
Not sure if that's relevant at all.
from altis-dev-tools.
Pretty sure the key is node_js
but I think we maybe need to add that nvm
step to the default config file in the before_install
step.
The text "key matrix
is an alias for jobs
, using jobs
" kinda suggests the opposite of what @tfrommen experienced with matrix
overriding jobs
which is weird. Maybe it's to do with the way the files are merged.
I'll do some proper testing tomorrow with the updated altis.yml
on #85
from altis-dev-tools.
Fwiw I think you'd have to define it as:
node_js:
- 12
from altis-dev-tools.
The text "key
matrix
is an alias forjobs
, usingjobs
" kinda suggests the opposite of what @tfrommen experienced withmatrix
overridingjobs
which is weird. Maybe it's to do with the way the files are merged.
In a failing build, opening up the (collapsed) Build config validation gives this:
from altis-dev-tools.
Aha, thanks for the extra context @tfrommen!
from altis-dev-tools.
Related Issues (20)
- Module tests that check front end behaviour can fail without a proper theme installed HOT 11
- Update default `dist` for travis.yml to `bionic`
- Add linting for docs added to modules HOT 10
- Create bootstrap command for codespaces HOT 2
- Integration tests erroring with "The site you have requested is not installed" HOT 4
- Error messages get swallowed when running all test suites at once
- Switch Travis config to use `arm64` architecture by default HOT 1
- Standardise the flamegraph / icicle graph usage and appearance HOT 1
- Re-add mention of XHProf to the docs
- Include WordPress action and filter names in Excimer/XHProf sampling data
- Codespaces: `composer server start` produces error message
- Codespaces: S3 Console link is generated with a local url
- Update Codespaces documentation to recommend 4-core Codespace
- Incorrect version of Requests dependency loaded HOT 2
- Documentation linting issues
- Codeception: option to disable cache for functional tests
- `composer server stop` doesn't stop mutagen container
- PHPUnit documentation links return a 404
- Fix Deprecation Notice warning in Altis Dev Tools when using PHP 8.2 HOT 1
- wp-phpunit version on 12.0.6 and above causes unit tests to immediately fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altis-dev-tools.