Run Docker Image
docker run -it quay.io/travisci/travis-node-js /bin/bash
Remove dangling files
rm /etc/profile.d/rvm.sh
-------------------------------------------------------------------------------- | |
Command: ./target/release/ruff ./crates/ruff/resources/test/cpython/ --no-cache | |
Massif arguments: --pages-as-heap=yes --time-unit=B | |
ms_print arguments: massif.out.969108 | |
-------------------------------------------------------------------------------- | |
GB | |
1.872^ # | |
| @# |
-------------------------------------------------------------------------------- | |
Command: ./target/release/ruff ./crates/ruff/resources/test/cpython/ --no-cache | |
Massif arguments: --pages-as-heap=yes --time-unit=B | |
ms_print arguments: massif.out.967385 | |
-------------------------------------------------------------------------------- | |
GB | |
1.570^ : | |
| #::: |
[FAIL] compiler\accessorDeclarationEmitVisibilityErrors.ts: Incorrectly passed | |
[PASS] compiler\accessorWithInitializer.ts | |
[FAIL] compiler\accessorsInAmbientContext.ts: Incorrectly passed | |
[FAIL] compiler\aliasDoesNotDuplicateSignatures.ts: Incorrectly passed | |
[PASS] compiler\aliasInaccessibleModule2.ts | |
[FAIL] compiler\accessorAccidentalCallDiagnostic.ts: Incorrectly passed | |
[PASS] compiler\abstractIdentifierNameStrict.ts | |
[PASS] compiler\accessorWithRestParam.ts | |
[PASS] compiler\2dArrays.ts | |
[PASS] compiler\accessorWithLineTerminator.ts |
// NOTE: This file is autogenerated. Do not modify. | |
// See packages/babel-types/scripts/generators/flow.js for script used. | |
// @flow | |
declare type BabelNodeBaseComment = {| | |
value: string; | |
start: number; | |
end: number; | |
loc: BabelNodeSourceLocation; | |
|}; |
// NOTE: This file is autogenerated. Do not modify. | |
// See packages/babel-types/scripts/generators/flow.js for script used. | |
// @flow | |
declare type BabelNodeBaseComment = {| | |
value: string; | |
start: number; | |
end: number; | |
loc: BabelNodeSourceLocation; | |
|}; |
clang++-7 -g -O3 main.cpp `llvm-config-7 --cxxflags --ldflags --system-libs --libs all` -o main |
Run Docker Image
docker run -it quay.io/travisci/travis-node-js /bin/bash
Remove dangling files
rm /etc/profile.d/rvm.sh
it("does not add translations twice if file is recompiled after change", function (done) { | |
var testCase = path.join(__dirname, "../fileChange.js"); | |
var fs = new MemoryFS(); | |
fs.mkdirpSync(path.join(__dirname, "../")); | |
fs.writeFileSync(testCase, "require('./otherFile.js');\n" + | |
"i18n.registerTranslation('NEW_USER', 'New user');\n" + | |
"i18n.registerTranslation('DELETE_USER', 'Delete User');\n" + | |
"i18n.registerTranslation('WillBeDeleted', 'Delete');"); | |
fs.writeFileSync(path.join(__dirname, "../otherFile.js"), "i18n.registerTranslation('DELETE_USER', 'Delete User');"); |