Skip to content

Commit

Permalink
feat: add travis configs
Browse files Browse the repository at this point in the history
  • Loading branch information
nezutero committed Jan 16, 2024
1 parent b0f4fd4 commit 30fe3d1
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions travis/go/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: go
go:
- "1.20"

script:
- go test ./...
23 changes: 23 additions & 0 deletions travis/hugo/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: go

go:
- "1.20"

before_install:
- wget https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_0.92.1_Linux-64bit.tar.gz
- tar -xzvf hugo_0.92.1_Linux-64bit.tar.gz
- sudo mv hugo /usr/local/bin/

install:
- hugo version

script:
- hugo

deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: public
on:
branch: master
9 changes: 9 additions & 0 deletions travis/nodejs/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- "latest"

install:
- npm install

script:
- npm test
9 changes: 9 additions & 0 deletions travis/python/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: python
python:
- "3.8"

install:
- pip install -r requirements.txt

script:
- pytest
6 changes: 6 additions & 0 deletions travis/rust/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: rust
rust:
- stable

script:
- cargo test

0 comments on commit 30fe3d1

Please sign in to comment.