Skip to content

Commit

Permalink
build: remove travis and appveyor ci templates
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde committed Oct 31, 2022
1 parent 126d50a commit 31971ba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 58 deletions.
2 changes: 1 addition & 1 deletion packages/api/core/src/api/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface InitOptions {
*/
interactive?: boolean;
/**
* Whether to copy Travis and AppVeyor CI files
* Whether to copy template CI files
*/
copyCIFiles?: boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/test/slow/api_spec_slow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ for (const nodeInstaller of ['npm', 'yarn']) {
after(() => fs.remove(dir));
});

describe('init with CI files enabled', () => {
describe.skip('init with CI files enabled', () => {
beforeInitTest({ copyCIFiles: true });

it('should copy over the CI config files correctly', async () => {
Expand Down
4 changes: 3 additions & 1 deletion packages/template/base/src/BaseTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export class BaseTemplate implements ForgeTemplate {
d('creating directory:', path.resolve(directory, 'src'));
await fs.mkdirs(path.resolve(directory, 'src'));
const rootFiles = ['_gitignore', 'forge.config.js'];
if (copyCIFiles) rootFiles.push(...['_travis.yml', '_appveyor.yml']);
if (copyCIFiles) {
d(`Copying CI files is currently not supported - this will be updated in a later version of Forge`);
}
const srcFiles = ['index.css', 'index.js', 'index.html', 'preload.js'];

for (const file of rootFiles) {
Expand Down
26 changes: 0 additions & 26 deletions packages/template/base/tmpl/_appveyor.yml

This file was deleted.

29 changes: 0 additions & 29 deletions packages/template/base/tmpl/_travis.yml

This file was deleted.

0 comments on commit 31971ba

Please sign in to comment.