浏览代码

Fix CI

pull/410/head
Guillaume Vincent 5 年前
父节点
当前提交
d707df2f1e
共有 3 个文件被更改,包括 7 次插入48 次删除
  1. +0
    -41
      .travis.yml
  2. +2
    -3
      packages/lesspass-web-extension/package.json
  3. +5
    -4
      packages/lesspass-web-site/package.json

+ 0
- 41
.travis.yml 查看文件

@@ -67,44 +67,3 @@ jobs:
- cd containers
script:
- ./test.sh

- stage: deploy
name: "Deploy containers"
language: generic
dist: xenial
sudo: required
before_script:
- sudo add-apt-repository -y ppa:projectatomic/ppa
- sudo apt-get update -y
- sudo apt-get install -y podman
- sudo mkdir -p /etc/containers
- sudo curl https://raw.githubusercontent.com/projectatomic/registries/master/registries.fedora -o /etc/containers/registries.conf
- cd containers
script:
- ./deploy.sh
on:
tags: true
all_branches: true
condition: "$TRAVIS_TAG =~ ^containers-*$"

- stage: deploy
name: "Deploy web extensions"
language: node_js
node_js:
- "lts/*"
cache:
yarn: true
env:
- EXTENSION_ID=lcmbpoclaodbgkbjafnkbbinogcbnjih
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- cd web-extension
install:
- yarn install
script:
- yarn release
on:
tags: true
all_branches: true
condition: "$TRAVIS_TAG =~ ^web-extension-*$"

+ 2
- 3
packages/lesspass-web-extension/package.json 查看文件

@@ -1,9 +1,8 @@
{
"name": "lesspass-webextension",
"name": "lesspass-web-extension",
"description": "LessPass web extension",
"version": "3.1.3",
"license": "GPL-3.0",
"private": true,
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"scripts": {
"clean": "rm -rf extension/dist/ && mkdir extension/dist/ && rm -rf build && mkdir build",
@@ -16,7 +15,7 @@
"release-amo": "cd extension && webext submit",
"release-cws": "webstore upload --source build/lesspass.chrome-v$npm_package_version.zip --auto-publish",
"dev": "cd extension && web-ext run",
"test": "echo 'no test'"
"test": "echo 0"
},
"dependencies": {
"lesspass-pure": "5.1.4"


+ 5
- 4
packages/lesspass-web-site/package.json 查看文件

@@ -1,13 +1,14 @@
{
"name": "lesspass-frontend",
"version": "1.0.2",
"description": "frontend for LessPass with vuejs",
"name": "lesspass-web-site",
"version": "1.0.0",
"description": "LessPass web site",
"license": "GPL-3.0",
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"repository": "lesspass/frontend",
"scripts": {
"build": "rm -rf dist && gulp && rm dist/index.html",
"start": "NODE_ENV=production node server.js"
"start": "NODE_ENV=production node server.js",
"test": "echo 0"
},
"dependencies": {
"express": "4.15.2",


正在加载...
取消
保存